Merge "Remove AIO cache resolver configuration"
This commit is contained in:
commit
53702e0f84
@ -120,22 +120,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- generate_secrets
|
- generate_secrets
|
||||||
|
|
||||||
- name: Get the DNS servers in use on the host
|
|
||||||
command: grep nameserver /etc/resolv.conf
|
|
||||||
register: nameservers
|
|
||||||
when:
|
|
||||||
- lxc_cache_resolvers is not defined
|
|
||||||
tags:
|
|
||||||
- get-nameservers
|
|
||||||
|
|
||||||
- name: Set lxc_cache_resolvers fact
|
|
||||||
set_fact:
|
|
||||||
lxc_cache_resolvers: "{{ nameservers.stdout_lines }}"
|
|
||||||
when:
|
|
||||||
- lxc_cache_resolvers is not defined
|
|
||||||
tags:
|
|
||||||
- set-fact-lxc_cache_resolvers
|
|
||||||
|
|
||||||
- name: Determine if the host has a global pip config file
|
- name: Determine if the host has a global pip config file
|
||||||
stat:
|
stat:
|
||||||
path: /etc/pip.conf
|
path: /etc/pip.conf
|
||||||
|
@ -88,10 +88,6 @@ lxc_net_address: 10.255.255.1
|
|||||||
lxc_net_netmask: 255.255.255.0
|
lxc_net_netmask: 255.255.255.0
|
||||||
lxc_net_dhcp_range: 10.255.255.2,10.255.255.253
|
lxc_net_dhcp_range: 10.255.255.2,10.255.255.253
|
||||||
|
|
||||||
## LXC Container Settings
|
|
||||||
lxc_cache_resolvers:
|
|
||||||
{{ lxc_cache_resolvers | to_nice_yaml }}
|
|
||||||
|
|
||||||
## Security hardening
|
## Security hardening
|
||||||
apply_security_hardening: true
|
apply_security_hardening: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user