077e9537d2
The new cryptography release needs either a recent pip to be able to use abi3 wheels or a rust compiler on the system to make the source installation work. Thus upgrade pip to use the wheels. Change-Id: Ied6007f9f834f313063e2e56a057a7082a71e5c4
37 lines
942 B
YAML
37 lines
942 B
YAML
- hosts: controller
|
|
roles:
|
|
|
|
- role: ensure-pip
|
|
|
|
- role: bindep
|
|
bindep_profile: test
|
|
bindep_dir: src/opendev.org/zuul/zuul
|
|
|
|
- role: bindep
|
|
bindep_dir: src/opendev.org/recordsansible/ara
|
|
|
|
post_tasks:
|
|
|
|
- name: Install software
|
|
shell: |+
|
|
python3 -m pip install --upgrade pip setuptools wheel
|
|
python3 -m pip install src/opendev.org/zuul/zuul
|
|
become: yes
|
|
|
|
- name: Install managed ansible versions
|
|
command: /usr/local/bin/zuul-manage-ansible -v
|
|
become: yes
|
|
|
|
- name: Copy inventory
|
|
copy:
|
|
src: "{{ zuul.executor.log_root }}/zuul-info/inventory.yaml"
|
|
dest: "{{ ansible_user_dir }}/inventory.yaml"
|
|
|
|
- name: Copy ansible.cfg
|
|
template:
|
|
src: templates/ansible.cfg.j2
|
|
dest: "{{ ansible_user_dir }}/ansible.cfg"
|
|
|
|
- name: Generate logging config
|
|
command: python3 src/opendev.org/zuul/zuul/zuul/ansible/logconfig.py
|