replace unbound w/ kresd, add user (needs ansible users bugfix for pw)

This commit is contained in:
2024-11-22 18:43:35 +01:00
parent cfe6edae85
commit cd11f997b8
13 changed files with 89 additions and 20 deletions

View File

@@ -41,3 +41,11 @@
# FIXME: fails, /etc/resolv.conf in jail is wrong, no working nameserver in there or outgoing dns forbidden
- name: template jail
shell: "bastille template {{ role_name }} services/{{ role_name }}"
- name: Create users
loop: "{{ users }}"
ansible.builtin.user:
name: "{{ item.name }}"
shell: "{{ item.shell }}"
groups: "{{ item.groups }}"
rootdir: "{{ item.rootdir }}"