summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cli/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-21 16:26:21 -0500
committerGitHub <noreply@github.com>2016-11-21 16:26:21 -0500
commit4954982b72451f82bd40802b0bdf39379ad4bdf1 (patch)
treeb890599b1719b630e3fae8197f9d8417e9a29c20 /roles/openshift_cli/tasks
parente34870e2b1b452f9719d14911d7a2a557ca701bd (diff)
parent7e0c346c8406eb6142e8d38fdec4e13236f3cdc6 (diff)
downloadopenshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.gz
openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.bz2
openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.xz
openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.zip
Merge pull request #2818 from mtnbikenc/package-refactor
Refactor to use Ansible package module
Diffstat (limited to 'roles/openshift_cli/tasks')
-rw-r--r--roles/openshift_cli/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_cli/tasks/main.yml b/roles/openshift_cli/tasks/main.yml
index 11c73b25c..07a00189c 100644
--- a/roles/openshift_cli/tasks/main.yml
+++ b/roles/openshift_cli/tasks/main.yml
@@ -1,6 +1,6 @@
---
- name: Install clients
- action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-clients state=present"
+ package: name={{ openshift.common.service_type }}-clients state=present
when: not openshift.common.is_containerized | bool
- name: Pull CLI Image
@@ -20,5 +20,5 @@
openshift_facts:
- name: Install bash completion for oc tools
- action: "{{ ansible_pkg_mgr }} name=bash-completion state=present"
+ package: name=bash-completion state=present
when: not openshift.common.is_containerized | bool