Hi
I do not want to use GIT for version control , so i am going to backup my
playbooks .. only if this is changed copy the yml file with date ...
I see copy module can do it
- name: Copy a new "ntp.conf file into place, backing up the original if it
differs from the copied version
copy:
src: /etc/ansible/playbooks/
dest: /etc/ansible/playbooks/BACKUP/
owner: root
group: root
mode: '0644'
backup: yes
I do not care to copy to remote node as well...
Does anyone has better way ( module or otherwise ) to handle this "backup"
and hence poor man's version control for playbooks ...
Thanks
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/425e5f44-326f-4930-8e55-b830cf758ff1o%40googlegroups.com.