machine_setup/ansible/roles/network/tasks/linux.yaml

21 lines
420 B
YAML
Raw Normal View History

2022-12-15 03:36:12 +00:00
- name: Create directories
file:
name: "{{ item }}"
state: directory
mode: 0755
owner: root
group: wheel
loop:
- /etc/systemd/resolved.conf.d
- name: Copy files
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0600
owner: root
group: wheel
loop:
- src: mullvlad_dns_over_tls.conf
dest: /etc/systemd/resolved.conf.d/mullvlad_dns_over_tls.conf