feat: added tag <update_etc_hosts>: updating etc/hosts entries

- allows updating of etc/hosts entries for the complete stage at once
- (future topic) replace etc/hosts entries by own dns server
master
Sven Ketelsen 4 years ago
parent da646bf4bd
commit 8bae53875d

@ -4,6 +4,7 @@
### users
### install
### config
### update_etc_hosts
### root_authorized_keys
- name: "Set hostname to <{{ inventory_hostname }}>"
@ -20,6 +21,8 @@
{% for host in shared_service_hosts %}
{{ host.ip }} {{ host.name }}
{% endfor %}
tags:
- update_etc_hosts
- name: "Adding authorized keys for root"
ansible.posix.authorized_key:
@ -89,6 +92,7 @@
when: docker_enabled
tags:
- users
- config
- name: "Insert/Update docker configuration"
template:

Loading…
Cancel
Save