>My existing crontabs do not have this tag prefixed. Can I still update and 
delete them through Ansible cron module ?

>From the documentation, it doesn't look likely since if you don't set a 
name parameter and if state=present then it will create a new crontab entry 
regardless of any existing ones. See the description for the "name" 
parameter in link <http://docs.ansible.com/ansible/cron_module.html>.

However, nothing is stopping you from using the lineinfile module to remove 
entries your want to update / delete and then use the cron module to create 
a updated but "managed by Ansible" crontab entry.

-- 
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/29237d59-7fd8-48fc-b5dd-b24ba11bc744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to