File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ galaxy_info:
7
7
min_ansible_version : 1.2
8
8
platforms :
9
9
- name : EL
10
- versions :
10
+ versions :
11
11
- 6
12
12
categories :
13
13
- system
Original file line number Diff line number Diff line change 3
3
- yum : name={{ item }} state=latest update_cache=yes
4
4
with_items :
5
5
- rsync
6
- - ruby
6
+ - ruby
7
7
- rubygems
8
8
- nmap
9
9
- libselinux-python
12
12
gem : name=facter state=latest
13
13
14
14
- name : download etcd
15
- shell : curl -L {{ etcd_download_url }} -o {{ etcd_download_dir }}/{{ etcd_download_filename }}
15
+ shell : curl -L {{ etcd_download_url }} -o {{ etcd_download_dir }}/{{ etcd_download_filename }}
16
16
17
17
- name : verify etcd
18
18
stat : path={{ etcd_download_dir }}/{{ etcd_download_filename }} checksum_algorithm=sha1
40
40
- name : etcd init script
41
41
template : src=etc/init/etcd-init.conf.j2 dest=/etc/init.d/etcd
42
42
43
- # # TODO - tighten up security
43
+ - user : name=etcd comment="Etcd daemon" createhome=no home=/var/lib/etcd shell=/bin/sh skeleton=no
44
+
45
+ # # TODO - tighten up security
44
46
- file : path=/var/lib/etcd owner=etcd group=etcd state=directory mode=0755
45
47
46
- - user : name=etcd comment="Etcd daemon" createhome=no home=/var/lib/etcd shell=/bin/sh skeleton=no
47
48
48
49
- file : path=/var/log/etcd owner=root group=etcd state=directory mode=0755
49
- - file : path=/var/log/etcd/etcd.log owner=root group=etcd mode=0664
50
+ - file : path=/var/log/etcd/etcd.log owner=root group=etcd mode=0664 state=touch
50
51
51
52
- name : enable and start etcd init script
52
53
service : name=etcd enabled=yes state=started
You can’t perform that action at this time.
0 commit comments