249 B
249 B
Check Mode
Run playbooks in simulation mode without making changes:
- name: Restart service (check mode)
service:
name: apache2
state: restarted
check_mode: yes
# Run with check mode:
# ansible-playbook site.yml --check