Modification for bigger setups
This commit is contained in:
parent
dd1a20fa2e
commit
c572903e89
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
lxc_host_ipv4_addr: 192.168.1.1/24
|
lxc_host_ipv4_addr: 192.168.0.1/24
|
||||||
|
|
||||||
lxc_host_ipv4_dhcp_start: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(99)|ansible.utils.ipaddr('address') }}"
|
lxc_host_ipv4_dhcp_start: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(100)|ansible.utils.ipaddr('address') }}"
|
||||||
lxc_host_ipv4_dhcp_end: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(198)|ansible.utils.ipaddr('address') }}"
|
lxc_host_ipv4_dhcp_end: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr('last_usable')|ansible.utils.ipaddr('address') }}"
|
||||||
|
|
||||||
lxc_host_ipv6_addr: fd00::1/64
|
lxc_host_ipv6_addr: fd00::1/64
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
- name: Raise inotify limit
|
- name: Raise inotify limit
|
||||||
sysctl:
|
sysctl:
|
||||||
name: fs.inotify.max_user_instances
|
name: fs.inotify.max_user_instances
|
||||||
value: '2048'
|
value: '{{ lxc_host_inotify_instances|default("2048") }}'
|
||||||
sysctl_file: 30-lxc-inotify.conf
|
sysctl_file: /etc/sysctl.d/30-lxc-inotify.conf
|
||||||
sysctl_set: yes
|
sysctl_set: yes
|
||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
|
|
Loading…
Reference in a new issue