blob: 3f4bdf925ccae398b1419bcfc0008e600729fbe2 [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
7 bindep_command: /usr/bindep-env/bin/bindep
8
9 - role: bindep
10 bindep_dir: src/git.openstack.org/openstack/ara
11 bindep_command: /usr/bindep-env/bin/bindep
12
13 post_tasks:
14
15 - name: Install software
16 command: python3 -m pip install src/git.openstack.org/openstack-infra/zuul src/git.openstack.org/openstack/ara
17 become: yes
18
19 - name: Copy inventory
20 copy:
21 src: "{{ zuul.executor.log_root }}/zuul-info/inventory.yaml"
22 dest: "{{ ansible_user_dir }}/inventory.yaml"
23
24 - name: Copy ansible.cfg
25 template:
26 src: templates/ansible.cfg.j2
27 dest: "{{ ansible_user_dir }}/ansible.cfg"
28
29 - name: Generate logging config
30 command: python3 src/git.openstack.org/openstack-infra/zuul/zuul/ansible/logconfig.py