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

26 lines
566 B
YAML
Raw Permalink 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:
2023-06-17 20:21:16 +00:00
- cloudinit_wait
2023-04-14 09:11:35 +00:00
- name: Install services
hosts: all
2023-04-23 22:00:28 +00:00
pre_tasks:
2023-06-17 20:21:16 +00:00
- name: Delete externally managed environment file
shell:
cmd: "rm /usr/lib/python*/EXTERNALLY-MANAGED"
register: rm
changed_when: "rm.rc == 0"
failed_when: "false"
2023-04-23 22:00:28 +00:00
- name: Copy resolv.conf
copy:
src: resolv.conf
dest: /etc/resolv.conf
2023-06-17 20:21:16 +00:00
roles:
2023-06-13 21:22:33 +00:00
- {role: apt, tags: apt}
- {role: dnsmasq, tags: dnsmasq}
2023-06-17 20:21:16 +00:00
- {role: powerdns, tags: powerdns}