blob: 34cabcea31a4b61c4bd94d60485e6f45ab33f504 [file] [log] [blame]
Monty Taylor0d254d52017-08-26 13:26:29 -05001- hosts: controller
2 roles:
3
4 - role: bindep
5 bindep_profile: test
6 bindep_dir: src/git.openstack.org/openstack-infra/zuul
Monty Taylor0d254d52017-08-26 13:26:29 -05007
8 - role: bindep
9 bindep_dir: src/git.openstack.org/openstack/ara
Monty Taylor0d254d52017-08-26 13:26:29 -050010
11 post_tasks:
12
13 - name: Install software
14 command: python3 -m pip install src/git.openstack.org/openstack-infra/zuul src/git.openstack.org/openstack/ara
15 become: yes
16
17 - name: Copy inventory
18 copy:
19 src: "{{ zuul.executor.log_root }}/zuul-info/inventory.yaml"
20 dest: "{{ ansible_user_dir }}/inventory.yaml"
21
22 - name: Copy ansible.cfg
23 template:
24 src: templates/ansible.cfg.j2
25 dest: "{{ ansible_user_dir }}/ansible.cfg"
26
27 - name: Generate logging config
28 command: python3 src/git.openstack.org/openstack-infra/zuul/zuul/ansible/logconfig.py