deployment/ansible/roles/set-hostname/handlers/main.yml

9 lines
122 B
YAML

---
- name: update hosts
template:
src: hosts.j2
dest: /etc/hosts
owner: root
group: root
mode: 644