summaryrefslogtreecommitdiffstats
path: root/roles/clients/tasks/host.yml
blob: dbb9dadcfc080227e9f96621ca1e15ac194046e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- name: Configuration du fichier hôtes IPv4 pour le dev
  lineinfile:
    path: /etc/hosts
    create: yes
    state: present
    line: '127.0.0.1 casperdev.home.casperlefantom.net cirrusdev.home.casperlefantom.net jaydev.home.casperlefantom.net'

- name: Configuration du fichier hôtes IPv6 pour le dev
  lineinfile:
    path: /etc/hosts
    create: yes
    state: present
    line: '::1 casperdev.home.casperlefantom.net cirrusdev.home.casperlefantom.net jaydev.home.casperlefantom.net'