summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorJosef Skladanka <jskladan@redhat.com>2016-02-16 12:18:58 +0100
committerJosef Skladanka <jskladan@redhat.com>2016-02-16 12:18:58 +0100
commited58720364008876c7d0490a9bef7da9c58bff24 (patch)
tree67a3deefd5eacbd3c7dc406e4babbae2c6b062c2 /playbooks
parent7eacf03ebc2af1ac510e425c9a59c2a1f77d2b41 (diff)
downloadansible-ed58720364008876c7d0490a9bef7da9c58bff24.tar.gz
ansible-ed58720364008876c7d0490a9bef7da9c58bff24.tar.xz
ansible-ed58720364008876c7d0490a9bef7da9c58bff24.zip
taskotron: cronjobs for imagefactory on dev
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/groups/taskotron-client-hosts.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/playbooks/groups/taskotron-client-hosts.yml b/playbooks/groups/taskotron-client-hosts.yml
index 5976148bd..08d8fe343 100644
--- a/playbooks/groups/taskotron-client-hosts.yml
+++ b/playbooks/groups/taskotron-client-hosts.yml
@@ -33,8 +33,8 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
-- name: configure taskotron client host
- hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
+- name: configure taskotron imagefactory
+ hosts: '{{imagefactory_host}}'
user: root
gather_facts: True
@@ -44,15 +44,13 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- - { role: taskotron/taskotron-client, tags: ['taskotronclient'] }
- - { role: taskotron/buildslave, tags: ['buildslave'] }
- - { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] }
+ - { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] }
handlers:
- include: "{{ handlers }}/restart_services.yml"
-- name: configure taskotron imagefactory
- hosts: qa11.qa.fedoraproject.org
+- name: configure taskotron client host
+ hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
user: root
gather_facts: True
@@ -62,8 +60,12 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- - { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] }
+ - { role: taskotron/taskotron-client, tags: ['taskotronclient'] }
+ - { role: taskotron/imagefactory-client, tags: ['imagefactoryclient'] }
+ - { role: taskotron/buildslave, tags: ['buildslave'] }
+ - { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] }
handlers:
- include: "{{ handlers }}/restart_services.yml"
+