add temp workaround for ansible-ansible-openshift-ansible in stage

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2017-07-20 02:38:04 +00:00
parent e982d61e23
commit 9436bf2d42
2 changed files with 22 additions and 1 deletions

View file

@ -21,7 +21,16 @@ osbs_client_conf_path: /etc/osbs.conf
# openshift-ansible variables
oa_version: openshift-ansible-3.5.97-1
#
# FIXME - Use my branch and fork for stage until this issue is resolved:
#
# https://github.com/openshift/openshift-ansible/issues/4801
#
# oa_version: openshift-ansible-3.5.101-1
#
oa_version: fix-fedora-python-check-3.5.101
oa_ssh_user: root
oa_install_examples: false
oa_containerized_deploy: false

View file

@ -14,6 +14,18 @@
repo: "https://github.com/openshift/openshift-ansible.git"
dest: "{{ openshift_ansible_path }}"
version: "{{ openshift_ansible_version }}"
when: env == "production"
# FIXME - Use my branch and fork for stage until this issue is resolved:
#
# https://github.com/openshift/openshift-ansible/issues/4801
#
- name: git clone the openshift-ansible repo
git:
repo: "https://github.com/maxamillion/openshift-ansible.git"
dest: "{{ openshift_ansible_path }}"
version: "{{ openshift_ansible_version }}"
when: env == "staging"
- name: generate the inventory file
template: