Compare commits

..

No commits in common. "2f93186906609c2cf48a1ae2be3f0ab8d6826e40" and "4a304d486a29bbb762ed6994369ba923e85f0914" have entirely different histories.

5 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,3 @@
--- ---
ssh_authorized_keys: [] ssh_authorized_keys: []
ssh_authorized_keys_extra: [] ssh_authorized_keys_extra: []
watchdog_reboot_timer: 16
watchdog_reset_timer: 10

View File

@ -20,9 +20,10 @@
line: "{{ item.ip }} {{ item.hosts }}" line: "{{ item.ip }} {{ item.hosts }}"
with_items: with_items:
- ip: "127.0.0.1" - ip: "127.0.0.1"
hosts: "{{ inventory_hostname }} {{ inventory_hostname.split('.')[0] }} localhost localhost.localdomain" hosts: "{{ inventory_hostname }}.{{ mydomain }} {{ inventory_hostname }} localhost localhost.localdomain"
- ip: "::1" - ip: "::1"
hosts: "{{ inventory_hostname }} {{ inventory_hostname.split('.')[0] }} localhost localhost.localdomain" hosts: "{{ inventory_hostname }}.{{ mydomain }} {{ inventory_hostname }} localhost localhost.localdomain"
when: mydomain is defined
- import_tasks: "pkg_Alpine.yml" - import_tasks: "pkg_Alpine.yml"
when: ansible_distribution == 'Alpine' when: ansible_distribution == 'Alpine'

View File

@ -1 +1 @@
{{ inventory_hostname.split(".")[0] }} {{ inventory_hostname }}

View File

@ -29,7 +29,7 @@
#repair-maximum = 1 #repair-maximum = 1
watchdog-device = /dev/watchdog watchdog-device = /dev/watchdog
watchdog-timeout = {{ watchdog_reboot_timer }} watchdog-timeout = 16
# Defaults compiled into the binary # Defaults compiled into the binary
#temperature-sensor = #temperature-sensor =

View File

@ -1,2 +1,2 @@
WATCHDOG_OPTS="-T {{ watchdog_reboot_timer }} -t {{ watchdog_reset_timer }}" WATCHDOG_OPTS="-T 16 -t 10"
WATCHDOG_DEV="/dev/watchdog" WATCHDOG_DEV="/dev/watchdog"