diff options
author | Scott Dodson <sdodson@redhat.com> | 2015-12-07 10:24:20 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-12-15 17:07:17 -0500 |
commit | afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2 (patch) | |
tree | 1ab5236c3948197cb8976cac91305937f45bb727 /roles/openshift_repos/tasks | |
parent | 3f2be7d987ccef8c4e157163dd9394ba6492a88c (diff) | |
download | openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.gz openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.bz2 openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.xz openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.zip |
Skip yum/dnf ops when is_containerized
Diffstat (limited to 'roles/openshift_repos/tasks')
-rw-r--r-- | roles/openshift_repos/tasks/main.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml index 6d910a66e..8a75639c2 100644 --- a/roles/openshift_repos/tasks/main.yaml +++ b/roles/openshift_repos/tasks/main.yaml @@ -8,7 +8,7 @@ # proper repos correctly. - assert: - that: openshift.common.deployment_type in known_openshift_deployment_types + that: openshift_deployment_type in known_openshift_deployment_types - name: Ensure libselinux-python is installed action: "{{ ansible_pkg_mgr }} name=libselinux-python state=present" @@ -46,7 +46,7 @@ with_fileglob: - '*/repos/*' when: not (item | search("/files/fedora-" ~ openshift_deployment_type ~ "/repos")) and - (ansible_distribution == "Fedora") + (ansible_distribution == "Fedora") and not openshift.common.is_containerized | bool notify: refresh cache |