Hello,
I’m trying to run a playbook in the flags --check, however I’m having an issue:
- name: ntp - Configure ntp
template: src=etc/ntp.conf.j2 dest=/etc/ntp.conf
notify:
- ntp - restart ntp
- name: ntp - Enable ntp
service: name=ntp state=running enabled=yes
If I try to register a variable, even in check mode template will report changed and since ntp isnt installed, service will fail: