summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-07-13 11:12:46 -0400
committerTim Bielawa <tbielawa@redhat.com>2016-07-13 11:12:46 -0400
commit192a5c2e770325cc95deb5071b99ed7373968e38 (patch)
treef11ddb552eadba2e099816eb64cc869146b614f8 /roles/openshift_master/tasks
parent9f9004ffe1bc112be39c08f91bdbb1793d23c9ba (diff)
downloadopenshift-192a5c2e770325cc95deb5071b99ed7373968e38.tar.gz
openshift-192a5c2e770325cc95deb5071b99ed7373968e38.tar.bz2
openshift-192a5c2e770325cc95deb5071b99ed7373968e38.tar.xz
openshift-192a5c2e770325cc95deb5071b99ed7373968e38.zip
Install bash-completion package for the oc/oadm tools
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 28faee155..a5f30b603 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -27,6 +27,9 @@
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }} state=present"
when: not openshift.common.is_containerized | bool
+- name: Install bash completion for oc tools
+ action: "{{ ansible_pkg_mgr }} name=bash-completion state=present"
+
- name: Pull master image
command: >
docker pull {{ openshift.master.master_image }}{{ ':' + openshift_version if openshift_version is defined and openshift_version != '' else '' }}