diff options
author | Quentin <quentin@deuxfleurs.fr> | 2019-06-01 16:02:49 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2019-07-11 09:33:07 +0200 |
commit | 61d009f18d5886db8b22ae41e04bb41a4ba2fddb (patch) | |
tree | e44bb326caf3107653c7a48749527cfd77f02cf2 /ansible/roles/network/files | |
download | infrastructure-61d009f18d5886db8b22ae41e04bb41a4ba2fddb.tar.gz infrastructure-61d009f18d5886db8b22ae41e04bb41a4ba2fddb.zip |
Initial commit
Diffstat (limited to 'ansible/roles/network/files')
-rw-r--r-- | ansible/roles/network/files/nsswitch.conf | 22 | ||||
-rw-r--r-- | ansible/roles/network/files/rules.v6 | 6 | ||||
-rw-r--r-- | ansible/roles/network/files/systemd-resolve-no-listen.conf | 2 |
3 files changed, 30 insertions, 0 deletions
diff --git a/ansible/roles/network/files/nsswitch.conf b/ansible/roles/network/files/nsswitch.conf new file mode 100644 index 0000000..f4c3149 --- /dev/null +++ b/ansible/roles/network/files/nsswitch.conf @@ -0,0 +1,22 @@ +# /etc/nsswitch.conf +# +# Example configuration of GNU Name Service Switch functionality. +# If you have the `glibc-doc-reference' and `info' packages installed, try: +# `info libc "Name Service Switch"' for information about this file. + +passwd: files systemd +group: files systemd +shadow: files +gshadow: files + +#hosts: files dns +hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname +networks: files + +protocols: db files +services: db files +ethers: db files +rpc: db files + +netgroup: nis + diff --git a/ansible/roles/network/files/rules.v6 b/ansible/roles/network/files/rules.v6 new file mode 100644 index 0000000..0f402bd --- /dev/null +++ b/ansible/roles/network/files/rules.v6 @@ -0,0 +1,6 @@ +*filter +:INPUT DROP [0:0] +:FORWARD DROP [0:0] +:OUTPUT ACCEPT [0:0] +COMMIT + diff --git a/ansible/roles/network/files/systemd-resolve-no-listen.conf b/ansible/roles/network/files/systemd-resolve-no-listen.conf new file mode 100644 index 0000000..6e95967 --- /dev/null +++ b/ansible/roles/network/files/systemd-resolve-no-listen.conf @@ -0,0 +1,2 @@ +[Resolve] +DNSStubListener=no |