Replace alldist with a wrapper script around a playbook #3

Closed
opened 7 years ago by jxpryde · 2 comments
jxpryde commented 7 years ago (Migrated from git.uwaterloo.ca)

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/hosts or even: ansible-alldist office ~/tmp/config.template /etc/foo/config

We also need to handle directories and when the group includes the Ansible host.

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/hosts` or even: `ansible-alldist office ~/tmp/config.template /etc/foo/config` We also need to handle directories and when the group includes the Ansible host.
jxpryde commented 6 years ago (Migrated from git.uwaterloo.ca)

Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.

Can do this with the files module very easily. Can be written as a oneshot as well if it's minor.
jxpryde commented 6 years ago (Migrated from git.uwaterloo.ca)

Status changed to closed

Status changed to closed
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: public/ansible-playbooks#3
Loading…
There is no content yet.