--- - hosts: all tasks: - name: Disable extra wheels mirror become: true lineinfile: dest: /etc/pip.conf regexp: ^extra-index-url state: absent - name: Remove exclude from dnf.conf become: true lineinfile: dest: /etc/dnf/dnf.conf regexp: ^exclude state: absent when: ansible_os_family == 'RedHat' - name: Symlink ansible configuration file file: dest: ~/.ansible.cfg src: "{{ ansible_user_dir}}/{{ windmill_src_dir }}/inventory/testing/ansible.cfg" state: link - name: Bootstrap bindep environment args: chdir: "{{ windmill_src_dir }}" command: tox -ebindep - name: Bootstrap tox environment args: chdir: "{{ item }}" shell: tox -evenv --notest with_items: - ~/src/git.openstack.org/openstack/windmill-ops - ~/src/git.openstack.org/openstack/windmill - name: Install ansible roles via galaxy args: chdir: "{{ item }}" executable: /bin/bash shell: source .tox/venv/bin/activate; ./tools/install_roles.sh --force with_items: - ~/src/git.openstack.org/openstack/windmill-ops - ~/src/git.openstack.org/openstack/windmill