- add basedir variable
- put add_host/ec2_create modules in place for copr backend
This commit is contained in:
parent
bfa59c0dff
commit
6514d2da39
2 changed files with 13 additions and 0 deletions
|
@ -100,6 +100,18 @@
|
||||||
- library
|
- library
|
||||||
- files
|
- files
|
||||||
|
|
||||||
|
# note - kill this when ansible 0.9 comes out
|
||||||
|
- name: put ec2_create and add_host module into library path
|
||||||
|
action: copy src=$basedir/library/$item dest=/srv/copr-work/provision/library/$item
|
||||||
|
with_items:
|
||||||
|
- ec2_create
|
||||||
|
- add_host
|
||||||
|
|
||||||
|
- name: put addhost into action_plugins path
|
||||||
|
action: copy src=$basedir/action_plugins/add_host dest=/srv/copr-work/provision/action_plugins/add_host
|
||||||
|
|
||||||
|
# end kill this w/0.9
|
||||||
|
|
||||||
- name: put ansible.cfg for all this into /etc/ansible/ on the system
|
- name: put ansible.cfg for all this into /etc/ansible/ on the system
|
||||||
action: copy src=$files/copr/provision/ansible.cfg dest=/etc/ansible/ansible.cfg
|
action: copy src=$files/copr/provision/ansible.cfg dest=/etc/ansible/ansible.cfg
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
basedir: /srv/web/infra/ansible
|
||||||
private: /srv/private/ansible
|
private: /srv/private/ansible
|
||||||
files: /srv/web/infra/ansible/files
|
files: /srv/web/infra/ansible/files
|
||||||
handlers: /srv/web/infra/ansible/handlers
|
handlers: /srv/web/infra/ansible/handlers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue