Update to 2022-01-12 10:14

This commit is contained in:
Daniel Berteaud
2022-01-12 10:14:43 +01:00
parent 898ae43de4
commit e73f05f073
22 changed files with 61 additions and 32 deletions

View File

@@ -3,9 +3,11 @@
- name: Configure IPv4 Forwarding
sysctl: name="net.ipv4.ip_forward" value={{ net_ipv4_forward | ternary('1', '0') }} sysctl_file=/etc/sysctl.d/network.conf sysctl_set=yes state=present reload=yes
when: ansible_virtualization_type != 'systemd-nspawn'
tags: net
- name: Deploy /etc/hosts
template: src=hosts.j2 dest=/etc/hosts
tags: net
- name: Prevent PVE from changing /etc/hosts
copy: content='' dest=/etc/.pve-ignore.hosts