summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/etcdctl.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/etcd/tasks/etcdctl.yml')
-rw-r--r--roles/etcd/tasks/etcdctl.yml11
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