diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-07-13 11:22:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-13 11:22:59 -0400 |
commit | d360c65c2a3ea755d0416379afd3228d68a32d73 (patch) | |
tree | baaf432d9057ce3be37333b884802289e24d9da2 | |
parent | e7371d975eed5b8836d21fa2bb3bbf4cfc244440 (diff) | |
parent | 192a5c2e770325cc95deb5071b99ed7373968e38 (diff) | |
download | openshift-d360c65c2a3ea755d0416379afd3228d68a32d73.tar.gz openshift-d360c65c2a3ea755d0416379afd3228d68a32d73.tar.bz2 openshift-d360c65c2a3ea755d0416379afd3228d68a32d73.tar.xz openshift-d360c65c2a3ea755d0416379afd3228d68a32d73.zip |
Merge pull request #2148 from tbielawa/shell_completion
Install bash-completion package for the oc/oadm tools
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 3 |
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 '' }} |