diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-01-06 10:58:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 10:58:03 -0500 |
commit | afa745c53379408955b87db91b9b29d51fabf37b (patch) | |
tree | 0992ccf80b008db5d8aecc74a66e2f80642a68bb /roles | |
parent | 2841c7e9a8654e68f461aa5b8ed9181c107e2178 (diff) | |
parent | 6da67c7364c94768cdc713e948ce4322a521ac12 (diff) | |
download | openshift-afa745c53379408955b87db91b9b29d51fabf37b.tar.gz openshift-afa745c53379408955b87db91b9b29d51fabf37b.tar.bz2 openshift-afa745c53379408955b87db91b9b29d51fabf37b.tar.xz openshift-afa745c53379408955b87db91b9b29d51fabf37b.zip |
Merge pull request #3039 from tbielawa/gh3020
Add required python-six package to installation
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_facts/tasks/main.yml | 6 | ||||
-rw-r--r-- | roles/openshift_facts/vars/main.yml | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml index 70cf49dd4..b7b521f1a 100644 --- a/roles/openshift_facts/tasks/main.yml +++ b/roles/openshift_facts/tasks/main.yml @@ -10,11 +10,9 @@ - set_fact: l_is_containerized: "{{ (l_is_atomic | bool) or (containerized | default(false) | bool) }}" -- name: Ensure PyYaml and yum-utils are installed +- name: Ensure various deps are installed package: name={{ item }} state=present - with_items: - - PyYAML - - yum-utils + with_items: "{{ required_packages }}" when: not l_is_atomic | bool - name: Gather Cluster facts and set is_containerized if needed diff --git a/roles/openshift_facts/vars/main.yml b/roles/openshift_facts/vars/main.yml new file mode 100644 index 000000000..9c3110ff6 --- /dev/null +++ b/roles/openshift_facts/vars/main.yml @@ -0,0 +1,7 @@ +--- +required_packages: + - iproute + - python-dbus + - python-six + - PyYAML + - yum-utils |