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 | 0188aa2f0a9c9d7e8b60720b56825853f7a220db (patch) | |
| tree | a322752c8765cf5ef3cf5748ee5733e938249f8c /CLAUDE.md | |
| parent | a97e13a86f1fc16a75b5fd83a6dd74b2e694f314 (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 |
