taskotron-dev: enable disposable clients

This commit is contained in:
Martin Krizek 2015-11-11 14:41:56 +00:00
parent 2b098b34bd
commit 0b6c32241e
7 changed files with 147 additions and 31 deletions

View file

@ -34,18 +34,20 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
#- name: configure taskotron client host
# hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
# user: root
# gather_facts: True
#
# vars_files:
# - /srv/web/infra/ansible/vars/global.yml
# - "/srv/private/ansible/vars.yml"
# - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
#
# roles:
# - { role: taskotron/something, tags: ['something'] }
#
# handlers:
# - include: "{{ handlers }}/restart_services.yml"
- name: configure taskotron client host
hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- { role: taskotron/buildslave, tags: ['buildslave'] }
- { role: taskotron/taskotron-client, tags: ['taskotronclient'] }
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] }
handlers:
- include: "{{ handlers }}/restart_services.yml"