summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-07-04 10:35:50 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-07-04 10:35:50 -0300
commit0f5b273c977af59ee2fdbb63efe8b8a3722c988c (patch)
tree5779f3a844f4384ed4e1d082781a47fff8b7c893
parent7f04025263b19ac07c27198f8c1e3358a6206fd5 (diff)
downloadopenshift-0f5b273c977af59ee2fdbb63efe8b8a3722c988c.tar.gz
openshift-0f5b273c977af59ee2fdbb63efe8b8a3722c988c.tar.bz2
openshift-0f5b273c977af59ee2fdbb63efe8b8a3722c988c.tar.xz
openshift-0f5b273c977af59ee2fdbb63efe8b8a3722c988c.zip
Update repoquery_cmd definitions to match latest in master.
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml2
-rw-r--r--playbooks/common/openshift-cluster/initialize_facts.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
index 1919039d1..3a285ab9f 100644
--- a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
@@ -5,7 +5,7 @@
- openshift_facts
tasks:
- set_fact:
- repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery' }}"
+ repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery --plugins' }}"
- fail:
msg: Cannot upgrade Docker on Atomic operating systems.
diff --git a/playbooks/common/openshift-cluster/initialize_facts.yml b/playbooks/common/openshift-cluster/initialize_facts.yml
index 4cade9c61..d6759cb13 100644
--- a/playbooks/common/openshift-cluster/initialize_facts.yml
+++ b/playbooks/common/openshift-cluster/initialize_facts.yml
@@ -12,5 +12,5 @@
- set_fact:
openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
- set_fact:
- repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery' }}"
+ repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery --plugins' }}"