moved polupating /etc/hosts to role "base"
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
msg: Debug
|
msg: Debug
|
||||||
# basics
|
# basics
|
||||||
- import_tasks: system_setup/hostname.yml
|
- import_tasks: system_setup/hostname.yml
|
||||||
|
- include_tasks: system_setup/hosts.yml
|
||||||
- import_tasks: system_setup/git.yml
|
- import_tasks: system_setup/git.yml
|
||||||
# install software
|
# install software
|
||||||
# - import_tasks: software/repositories.yml
|
# - import_tasks: software/repositories.yml
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- include_tasks: system_setup/hosts.yml
|
|
||||||
- include_tasks: utilities/ssmtp.yml
|
- include_tasks: utilities/ssmtp.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
|
||||||
@@ -23,8 +22,8 @@
|
|||||||
- ansible_default_ipv4.address | ipaddr('public')
|
- ansible_default_ipv4.address | ipaddr('public')
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
- include_tasks: system_setup/cron.yml
|
- include_tasks: system_setup/cron.yml
|
||||||
- include_role:
|
# - include_role:
|
||||||
name: base
|
# name: base
|
||||||
tasks_from: users.yml
|
# tasks_from: users.yml
|
||||||
|
|
||||||
# vim: ts=2 sw=2
|
# vim: ts=2 sw=2
|
||||||
Reference in New Issue
Block a user