add twistedbots group to inventory

add twistedbots playbook
This commit is contained in:
Seth Vidal 2012-11-06 19:20:11 +00:00
parent e9f1cb74ca
commit 7ff612ed8c
2 changed files with 36 additions and 0 deletions

View file

@ -296,6 +296,8 @@ virthost-comm01.qa.fedoraproject.org
[persistent-cloud]
# copr-be.cloud.fedoraproject.org
209.132.184.100
[twistebots]
#rhel6 twisted testbot - ticket 3537
209.132.184.111
#f17 twisted testbot - ticket 3537

View file

@ -0,0 +1,34 @@
- name: check/create instances for twistedbots
hosts: twistedbots
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
tasks:
- include: $tasks/persistent_cloud.yml
- name: provision instance
hosts: twistedbots
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- ${vars}/${ansible_distribution}.yml
tasks:
- include: $tasks/cloud_setup_basic.yml
# packages needed
- name: add packages for them
action: yum state=present name=$item
with_items:
- rsync
- openssh-clients
handlers:
- include: $handlers/restart_services.yml