role_etc_hosts/tasks/main.yml

10 lines
177 B
YAML
Raw Permalink Normal View History

2022-10-21 13:01:23 +00:00
---
# tasks file for etc_hosts
- name: Déployer le fichier /etc/hosts
ansible.builtin.template:
mode: u=rw,g=r,o=r
src: hosts.j2
dest: /etc/hosts
become: true