From 00d007565aff754cb282631f89de93c1c9cc0a46 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Mon, 31 Oct 2016 10:26:08 -0400 Subject: 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. --- roles/etcd/tasks/etcdctl.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/etcd/tasks/etcdctl.yml (limited to 'roles/etcd/tasks/etcdctl.yml') 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 -- cgit v1.2.3