You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
401 B

9 years ago
9 years ago
9 years ago
9 years ago
  1. ---
  2. - name: Create etcd user
  3. user: name=etcd shell=/bin/nologin home=/var/lib/etcd2
  4. - name: Install etcd binaries
  5. copy:
  6. src={{ local_release_dir }}/etcd/bin/{{ item }}
  7. dest={{ bin_dir }}
  8. owner=etcd
  9. mode=u+x
  10. with_items:
  11. - etcdctl
  12. - etcd
  13. notify: restart etcd2
  14. - name: Create etcd2 binary symlink
  15. file: src=/usr/local/bin/etcd dest=/usr/local/bin/etcd2 state=link