install configuration files correctly
This commit is contained in:
parent
ee92873499
commit
0d1d684aab
2 changed files with 5 additions and 5 deletions
|
@ -52,8 +52,8 @@
|
||||||
service: "ntpd"
|
service: "ntpd"
|
||||||
- name: "Install configuration files."
|
- name: "Install configuration files."
|
||||||
template:
|
template:
|
||||||
src: "templates/{{ item }}"
|
src: "templates{{ item }}.j2"
|
||||||
dest: "{{ item }}"
|
dest: "/mnt{{ item }}"
|
||||||
mode: "640"
|
mode: "640"
|
||||||
loop:
|
loop:
|
||||||
- /etc/conf.d/iptables
|
- /etc/conf.d/iptables
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
- /etc/sysctl.d/congestion.conf
|
- /etc/sysctl.d/congestion.conf
|
||||||
- name: "And services."
|
- name: "And services."
|
||||||
template:
|
template:
|
||||||
src: "templates/{{ item }}.j2"
|
src: "templates{{ item }}.j2"
|
||||||
dest: "{{ item }}"
|
dest: "/mnt{{ item }}"
|
||||||
mode: "750"
|
mode: "750"
|
||||||
loop:
|
loop:
|
||||||
- /etc/init.d/ntpd
|
- /etc/init.d/ntpd
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
- name: "Create NTP directories."
|
- name: "Create NTP directories."
|
||||||
file:
|
file:
|
||||||
state: "directory"
|
state: "directory"
|
||||||
path: "{{ item }}"
|
path: "/mnt{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- "/var/NTP"
|
- "/var/NTP"
|
||||||
- "/var/lib/ntp"
|
- "/var/lib/ntp"
|
||||||
|
|
Loading…
Reference in a new issue