moved editing the hosts file to role server
because only servers might be outside the home network and connect with wireguard
This commit is contained in:
@@ -14,7 +14,7 @@ raspberry_pi: false
|
|||||||
preinstalled: true
|
preinstalled: true
|
||||||
|
|
||||||
# server
|
# server
|
||||||
set_hosts: false
|
set_hosts: true
|
||||||
unattended_upgrades: true
|
unattended_upgrades: true
|
||||||
web_server: true
|
web_server: true
|
||||||
netdata: true
|
netdata: true
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
- import_tasks: software/packages_utilities.yml
|
- import_tasks: software/packages_utilities.yml
|
||||||
|
|
||||||
# Perform remaining tasks:
|
# Perform remaining tasks:
|
||||||
- import_tasks: system_setup/hosts.yml
|
|
||||||
- import_tasks: system_setup/clock.yml
|
- import_tasks: system_setup/clock.yml
|
||||||
# - import_tasks: system_setup/cron.yml
|
# - import_tasks: system_setup/cron.yml
|
||||||
- import_tasks: system_setup/locale.yml
|
- import_tasks: system_setup/locale.yml
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
- import_tasks: system_setup/hosts.yml
|
||||||
- include_tasks: utilities/netdata.yml
|
- include_tasks: utilities/netdata.yml
|
||||||
when: netdata is defined and netdata == true
|
when: netdata is defined and netdata == true
|
||||||
- include_tasks: utilities/snmpd.yml
|
- include_tasks: utilities/snmpd.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user