docker-host: added var for user namespace setting
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2595|5|2590|3|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/281//ansiblelint">Evolix » ansible-roles » unstable #281</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Tom David--Broglio 2023-07-03 18:37:15 +02:00
parent a6bac1f20b
commit e4436d9066
3 changed files with 6 additions and 0 deletions

View file

@ -16,6 +16,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* userlogrotate: rotate also php.log.
* nagios-nrpe: add a NRPE check-local command with completion.
* policy_pam: New role allowing to manage password policy with pam_pwquality & pam_pwhistory
* docker-host: added var for user namespace setting
* dovecot: fix old_stats plugin for Dovecot 2.3.
* dovecot: add Munin plugins dovecot1 and dovecot_stats (patched)

View file

@ -12,6 +12,9 @@ docker_conf_no_newprivileges: False
# Toggle live restore (need to be disabled in swarm mode)
docker_conf_live_restore: True
# Toggle user namespace
docker_conf_user_namespace: True
# Disable all default network connectivity
docker_conf_disable_default_networking: False

View file

@ -4,8 +4,10 @@
,"data-root": "{{ docker_home }}"
{# Keep containers running while docker daemon downtime #}
,"live-restore": {{ docker_conf_live_restore | to_json }}
{% if docker_conf_user_namespace %}
{# Turn on user namespace remaping #}
,"userns-remap": "default"
{% endif %}
{% if docker_conf_use_iptables %}
{# Use iptables instead of docker-proxy #}
,"userland-proxy": false