Fix configuration file permissions
This commit is contained in:
parent
6f6e4d559f
commit
a823b97c04
|
@ -14,10 +14,13 @@
|
||||||
when: arpwatch__enabled|bool
|
when: arpwatch__enabled|bool
|
||||||
|
|
||||||
# Manage configuration file [[[1
|
# Manage configuration file [[[1
|
||||||
- name: Configure Arpwatch
|
- name: Create Arpwatch configuration
|
||||||
template:
|
template:
|
||||||
src: '{{ arpwatch__conf_src }}'
|
src: '{{ arpwatch__conf_src }}'
|
||||||
dest: "/etc/arpwatch.conf"
|
dest: "/etc/arpwatch.conf"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
when: arpwatch__enabled|bool
|
when: arpwatch__enabled|bool
|
||||||
notify: ['restart arpwatch service']
|
notify: ['restart arpwatch service']
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
## {{ ansible_managed }}
|
||||||
|
|
||||||
# /etc/arpwatch.conf: Debian-specific way to watch multiple interfaces.
|
# /etc/arpwatch.conf: Debian-specific way to watch multiple interfaces.
|
||||||
# Format of this configuration file is:
|
# Format of this configuration file is:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue