This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
hermes/ansible/hermes.yml

30 lines
647 B
YAML
Raw Normal View History

2023-04-14 09:11:35 +00:00
- name: Wait for cloud-init to finish
hosts: all
gather_facts: no
2023-04-14 09:11:35 +00:00
roles:
- 'cloudinit-wait'
2023-04-14 09:11:35 +00:00
- name: Install services
hosts: all
pre_tasks:
2023-04-14 09:11:35 +00:00
- name: Copy resolv.conf
copy:
src: resolv.conf
dest: /etc/resolv.conf
- name: Update repositories
apt:
autoremove: true
upgrade: yes
state: latest
update_cache: yes
cache_valid_time: 86400 # One day
- name: Install packages
apt:
pkg:
- qemu-guest-agent
- dnsutils
roles:
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'nsd', tags: 'nsd'}
- {role: 'ca', tags: 'ca'}