Discussion:
[ansible-project] skip task check mode
José Coelho
2015-07-14 09:57:08 UTC
Permalink
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
- 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
msg: no service or tool found for: ntp
ansible --version

ansible 1.9.1
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0b9aa315-6493-4bf7-9f70-1017bf36712b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...