@ -1,13 +1,22 @@
|
||||
---
|
||||
- name: Clear charybde configuration
|
||||
lineinfile:
|
||||
state: absent
|
||||
path: /etc/hosts
|
||||
regex: "^{{ item }}"
|
||||
loop:
|
||||
- "185.230.79.30"
|
||||
- "2a0c:700:2:0:ea39:35ff:fef0:48c9"
|
||||
|
||||
- name: Add mirror.crans.org in /etc/hosts
|
||||
lineinfile:
|
||||
state: present
|
||||
path: /etc/hosts
|
||||
regex: "^{{ item }}"
|
||||
line: "{{ item }} mirror.crans.org charybde.crans.org mirror"
|
||||
line: "{{ item }} mirror.adm.ynerant.fr"
|
||||
loop:
|
||||
- "185.230.79.30"
|
||||
- "2a0c:700:2:0:ea39:35ff:fef0:48c9"
|
||||
- "172.16.42.102"
|
||||
- "fd00::42:4000:ff:fe01:242"
|
||||
|
||||
- name: Configure Debian repositories
|
||||
template:
|
||||
|
Reference in New Issue
Block a user