Replace alldist with a wrapper script around a playbook
Closedopened 7 years ago by jxpryde · 2 comments
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
So the playbook syntax seems a little obtuse for this use case. We should write the very simple playbook then wrap it with some simple bash.
I want something like:
ansible-alldist office /etc/hostsor even:
ansible-alldist office ~/tmp/config.template /etc/foo/config
We also need to handle directories and when the group includes the Ansible host.
Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.
Status changed to closed