jkilpatr e4cc89fdc3 Use only yum Ansible in CI setup
So for months now Ansible sourced from yum and Ansible sourced
from pip could exist on the same machine and function just fine.
But as of a few days ago in the Newton and now rhos-10 CI pipeline
the dependency loading semantics have changed and this is no longer
possible.

This commit switches to relying on the package manager version.

Change-Id: I21737c6f6900f3ed4011fe7de91fc34a1d984fc3
2017-04-13 16:45:50 +00:00

25 lines
713 B
YAML

---
- name: Make sure dependencies ar installed
package: name={{item}} state=present
become: true
with_items: "{{ browbeat_dependencies }}"
- name: Copy browbeat to the undercloud
synchronize: "src={{ local_working_dir }}/browbeat dest={{ ansible_env.HOME }}/ use_ssh_args=yes"
- name: Set hosts gen as executable
shell: "chmod +x {{ ansible_env.HOME }}/browbeat/ansible/generate_tripleo_hostfile.sh"
- name: Fetch Browbeat vars file
fetch:
"src={{ ansible_env.HOME }}/browbeat/ansible/install/group_vars/all.yml \
dest=/tmp/all.yml \
flat=yes"
- name: Load Browbeat vars
include_vars: /tmp/all.yml
- name: Load CI vars
include_vars: "{{ lookup('env','HW_ENV_DIR') }}/all.yml"