Add options to resolv.conf

This commit is contained in:
László Károlyi 2024-03-05 18:32:45 +01:00
parent 0e2ba1fd20
commit 49e2bf1f07
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE
2 changed files with 2 additions and 0 deletions

View file

@ -14,5 +14,6 @@
dest: '{{ vars["jail_" + jail_name + "_new_path"] }}/etc/resolv.conf'
content: |
nameserver {{ vars["jail_" + jail_name + "_new_ip4"] }}
options edns0 trust-ad
# vim: sw=2:smarttab

View file

@ -13,6 +13,7 @@
dest: '{{ vars["jail_" + jail_name + "_new_path"] }}/etc/resolv.conf'
content: |
nameserver 127.0.0.1
options edns0 trust-ad
- name: Mounting devFS into chroot for pkg
ansible.posix.mount: