move var preinstall_selinux_state: to roles/kubespray-defaults/defaults/main.yaml (#5715)

This commit is contained in:
Sergey
2020-03-10 17:45:35 +03:00
committed by GitHub
parent b937d1cd9a
commit 221b429c24
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,9 @@
# This change obseletes editing ansible.cfg file depending on bastion existence
ansible_ssh_common_args: "{% if 'bastion' in groups['all'] %} -o ProxyCommand='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -W %h:%p {{ hostvars['bastion']['ansible_user'] }}@{{ hostvars['bastion']['ansible_host'] }} {% if ansible_ssh_private_key_file is defined %}-i {{ ansible_ssh_private_key_file }}{% endif %} ' {% endif %}"
# selinux state
preinstall_selinux_state: permissive
kube_api_anonymous_auth: true
# Default value, but will be set to true automatically if detected