Update /etc/hosts entries
Some checks failed
Lint / Lint (3.10) (push) Failing after 17s
Lint / Lint (3.11) (push) Failing after 15s

This commit is contained in:
Ariejan de Vroom 2024-06-11 09:33:14 +02:00
parent cb4c6ab4ac
commit 426c49a197
Signed by: ariejan
GPG Key ID: AD739154F713697B
2 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,10 @@ user:
shell: /bin/zsh
country: Netherlands
etc_hosts:
- 10.0.2.100 treebeard
- 10.0.2.55 mailcow
pacman:
parallel_downloads: 10

View File

@ -42,3 +42,12 @@
update_cache: yes
upgrade: yes
become: true
- name: Add entries to /etc/hosts
ansible.builtin.lineinfile:
path: /etc/hosts
line: "{{ item }}"
state: present
with_items:
- "{{ etc_hosts }}"
become: true