Not tested:
- tasks: restore the config file
shell: chdir="{{ dirsav }}" mv config /{{ Directoryname }}/
tags:
- restore
With restore:
ansible-playbook myplaybook.yml
Without restore:
ansible-playbook myplaybook.yml --skip-tags "restore"
--
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/8e9d08bc-17b6-4bb0-8764-25284727a109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.