diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-10-31 10:26:08 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-11-14 08:50:42 -0500 |
commit | 00d007565aff754cb282631f89de93c1c9cc0a46 (patch) | |
tree | 380dcdf0297bb19d444bccb6dea50332914dd467 /roles/etcd/tasks/etcdctl.yml | |
parent | 98e4d9600bb193c772c3f03ac3b810798734c168 (diff) | |
download | openshift-00d007565aff754cb282631f89de93c1c9cc0a46.tar.gz openshift-00d007565aff754cb282631f89de93c1c9cc0a46.tar.bz2 openshift-00d007565aff754cb282631f89de93c1c9cc0a46.tar.xz openshift-00d007565aff754cb282631f89de93c1c9cc0a46.zip |
Drop /etc/profile.d/etcdctl.sh
Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable
defaults for etcdctl functions on a host that's configured with openshift_etcd.
Diffstat (limited to 'roles/etcd/tasks/etcdctl.yml')
-rw-r--r-- | roles/etcd/tasks/etcdctl.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/etcd/tasks/etcdctl.yml b/roles/etcd/tasks/etcdctl.yml new file mode 100644 index 000000000..32c176449 --- /dev/null +++ b/roles/etcd/tasks/etcdctl.yml @@ -0,0 +1,11 @@ +- name: Install etcd for etcdctl + action: "{{ ansible_pkg_mgr }} name=etcd state=present" + when: not openshift.common.is_atomic | bool + +- name: Configure etcd profile.d alises + copy: + src: etcdctl.sh + dest: /etc/profile.d/etcdctl.sh + mode: 0755 + owner: root + group: root |