Compare commits
2 Commits
4a304d486a
...
2f93186906
Author | SHA1 | Date | |
---|---|---|---|
2f93186906 | |||
0f9b5178b3 |
@ -1,3 +1,6 @@
|
||||
---
|
||||
ssh_authorized_keys: []
|
||||
ssh_authorized_keys_extra: []
|
||||
|
||||
watchdog_reboot_timer: 16
|
||||
watchdog_reset_timer: 10
|
||||
|
@ -20,10 +20,9 @@
|
||||
line: "{{ item.ip }} {{ item.hosts }}"
|
||||
with_items:
|
||||
- ip: "127.0.0.1"
|
||||
hosts: "{{ inventory_hostname }}.{{ mydomain }} {{ inventory_hostname }} localhost localhost.localdomain"
|
||||
hosts: "{{ inventory_hostname }} {{ inventory_hostname.split('.')[0] }} localhost localhost.localdomain"
|
||||
- ip: "::1"
|
||||
hosts: "{{ inventory_hostname }}.{{ mydomain }} {{ inventory_hostname }} localhost localhost.localdomain"
|
||||
when: mydomain is defined
|
||||
hosts: "{{ inventory_hostname }} {{ inventory_hostname.split('.')[0] }} localhost localhost.localdomain"
|
||||
|
||||
- import_tasks: "pkg_Alpine.yml"
|
||||
when: ansible_distribution == 'Alpine'
|
||||
|
@ -1 +1 @@
|
||||
{{ inventory_hostname }}
|
||||
{{ inventory_hostname.split(".")[0] }}
|
@ -29,7 +29,7 @@
|
||||
#repair-maximum = 1
|
||||
|
||||
watchdog-device = /dev/watchdog
|
||||
watchdog-timeout = 16
|
||||
watchdog-timeout = {{ watchdog_reboot_timer }}
|
||||
|
||||
# Defaults compiled into the binary
|
||||
#temperature-sensor =
|
||||
|
@ -1,2 +1,2 @@
|
||||
WATCHDOG_OPTS="-T 16 -t 10"
|
||||
WATCHDOG_OPTS="-T {{ watchdog_reboot_timer }} -t {{ watchdog_reset_timer }}"
|
||||
WATCHDOG_DEV="/dev/watchdog"
|
||||
|
Loading…
x
Reference in New Issue
Block a user