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:

> 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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to