Fix modelines
This commit is contained in:
parent
02cb58f947
commit
1fa09665ff
@ -3,3 +3,5 @@ pi:
|
|||||||
hosts:
|
hosts:
|
||||||
pi:
|
pi:
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -5,3 +5,5 @@ chrony_package_state: 'present'
|
|||||||
chrony_service_name: 'chrony'
|
chrony_service_name: 'chrony'
|
||||||
chrony_service_state: 'started'
|
chrony_service_state: 'started'
|
||||||
chrony_service_enabled: yes
|
chrony_service_enabled: yes
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -4,3 +4,5 @@
|
|||||||
name: "{{ chrony_service_name }}"
|
name: "{{ chrony_service_name }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
when: chrony_service_enabled
|
when: chrony_service_enabled
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -28,3 +28,5 @@
|
|||||||
name: "{{ chrony_service_name }}"
|
name: "{{ chrony_service_name }}"
|
||||||
state: "{{ chrony_service_state }}"
|
state: "{{ chrony_service_state }}"
|
||||||
enabled: "{{ chrony_service_enabled }}"
|
enabled: "{{ chrony_service_enabled }}"
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -1 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -4,3 +4,5 @@ chrony_pool:
|
|||||||
- 0.ubuntu.pool.ntp.org iburst maxsources 1
|
- 0.ubuntu.pool.ntp.org iburst maxsources 1
|
||||||
- 1.ubuntu.pool.ntp.org iburst maxsources 1
|
- 1.ubuntu.pool.ntp.org iburst maxsources 1
|
||||||
- 2.ubuntu.pool.ntp.org iburst maxsources 2
|
- 2.ubuntu.pool.ntp.org iburst maxsources 2
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -6,3 +6,5 @@ resolv_options:
|
|||||||
- edns0
|
- edns0
|
||||||
|
|
||||||
timezone: UTC
|
timezone: UTC
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -10,3 +10,5 @@
|
|||||||
name: "{{ cron_service_name }}"
|
name: "{{ cron_service_name }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
when: cron_service_name is defined
|
when: cron_service_name is defined
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -22,3 +22,5 @@
|
|||||||
timezone:
|
timezone:
|
||||||
name: "{{ timezone }}"
|
name: "{{ timezone }}"
|
||||||
notify: restart cron
|
notify: restart cron
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
---
|
---
|
||||||
resolv_service_name: systemd-resolved.service
|
resolv_service_name: systemd-resolved.service
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -6,3 +6,5 @@ sys_utils:
|
|||||||
- dnsutils
|
- dnsutils
|
||||||
- ldnsutils
|
- ldnsutils
|
||||||
- tcpdump
|
- tcpdump
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -21,3 +21,5 @@ unbound_forward_zones:
|
|||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
- 8.8.4.4
|
- 8.8.4.4
|
||||||
- 149.112.112.112
|
- 149.112.112.112
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -4,3 +4,5 @@
|
|||||||
name: "{{ unbound_service_name }}"
|
name: "{{ unbound_service_name }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
when: unbound_service_enabled
|
when: unbound_service_enabled
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -17,3 +17,5 @@
|
|||||||
name: "{{ unbound_service_name }}"
|
name: "{{ unbound_service_name }}"
|
||||||
state: "{{ unbound_service_state }}"
|
state: "{{ unbound_service_state }}"
|
||||||
enabled: "{{ unbound_service_enabled }}"
|
enabled: "{{ unbound_service_enabled }}"
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -1 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -7,3 +7,5 @@ openssh_service_state: 'started'
|
|||||||
openssh_service_enabled: true
|
openssh_service_enabled: true
|
||||||
|
|
||||||
openssh_sshd_config: {}
|
openssh_sshd_config: {}
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -4,3 +4,5 @@
|
|||||||
name: "{{ openssh_service_name }}"
|
name: "{{ openssh_service_name }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
when: openssh_service_enabled
|
when: openssh_service_enabled
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -23,3 +23,5 @@
|
|||||||
name: "{{ openssh_service_name }}"
|
name: "{{ openssh_service_name }}"
|
||||||
state: "{{ openssh_service_state }}"
|
state: "{{ openssh_service_state }}"
|
||||||
enabled: "{{ openssh_service_enabled }}"
|
enabled: "{{ openssh_service_enabled }}"
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -1 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -1 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -7,3 +7,5 @@ openssh_default_sshd_config:
|
|||||||
PrintMotd: 'no'
|
PrintMotd: 'no'
|
||||||
AcceptEnv: LANG LC_*
|
AcceptEnv: LANG LC_*
|
||||||
Subsystem: 'sftp /usr/lib/openssh/sftp-server'
|
Subsystem: 'sftp /usr/lib/openssh/sftp-server'
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -94,3 +94,5 @@ unattended_upgrades_mail: "{{ unattended_upgrades_mailto }}"
|
|||||||
# Download and install upgrades only on non-metered connection
|
# Download and install upgrades only on non-metered connection
|
||||||
# (i.e. skip or gracefully stop updates on a metered connection)
|
# (i.e. skip or gracefully stop updates on a metered connection)
|
||||||
# unattended_upgrades_skip_updates_on_metered_connections: true
|
# unattended_upgrades_skip_updates_on_metered_connections: true
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -30,3 +30,5 @@
|
|||||||
path: /etc/apticron/apticron.conf
|
path: /etc/apticron/apticron.conf
|
||||||
state: absent
|
state: absent
|
||||||
when: unattended_upgrades_apticron_package_state == 'absent'
|
when: unattended_upgrades_apticron_package_state == 'absent'
|
||||||
|
|
||||||
|
# vim:ft=yaml.ansible:
|
||||||
|
Loading…
Reference in New Issue
Block a user