Browse Source

Update repoquery_cmd definitions to match latest in master.

Devan Goodwin 8 years ago
parent
commit
0f5b273c97

+ 1 - 1
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.

+ 1 - 1
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' }}"