- Verify the local configuration
ansible -i inventory/hosts all -m ping
ansible-inventory -i inventory/hosts --host dn42
ansible-inventory -i inventory/hosts --list
- Apply the
site.yamlplaybook on the serversrv.flapin noop mode
ansible-playbook -i ./inventory/hosts site.yaml --check --diff --limit srv.flap
- Apply the
site.yamlplaybook on the serversrv.flap
ansible-playbook -i ./inventory/hosts site.yaml --diff --limit srv.flap
- Apply the
site.yamlplaybook on the serversrv.flap, restrict to a specific tag
ansible-playbook -i ./inventory/hosts site.yaml --diff --limit srv.flap --tags dns