diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-04 04:07:01 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-04 04:19:18 +0200 |
| commit | 783b6f5a7e1f40a7e5ce35b121316c1ac91e4b42 (patch) | |
| tree | a322752c8765cf5ef3cf5748ee5733e938249f8c /CLAUDE.md | |
| parent | dc323fa9d3d9623e4214b5ac39abcad235d7cf0e (diff) | |
Fix CI
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -22,6 +22,31 @@ ansible-playbook site.yml --ask-become-pass ansible all -m ping ``` +**Run molecule testing:** + +```bash +# Run full test suite for a specific scenario +molecule test -s archlinux +molecule test -s ubuntu +molecule test -s debian +molecule test -s raspberrypi + +# Run specific test phases +molecule converge -s archlinux # Run converge only +molecule idempotence -s archlinux # Run idempotence test only +molecule verify -s archlinux # Run verify only +``` + +**Debug molecule testing on remote machine:** + +```bash +# Copy to remote machine for debugging +rsync -r . archlinux.local:/opt/ansible-distro-configure + +# Run on remote machine with proper PATH +ssh archlinux.local "cd /opt/ansible-distro-configure && PATH=~/.local/bin:\$PATH ~/.local/bin/molecule test -s archlinux" +``` + ## Architecture Overview This is an Ansible configuration management repository for multiple Linux distributions |
