Merge "Don't use become for Kolla Ansible"

This commit is contained in:
Zuul 2020-04-22 00:50:41 +00:00 committed by Gerrit Code Review
commit eaf511adad
5 changed files with 10 additions and 4 deletions

View File

@ -335,7 +335,7 @@ kolla_ansible_group: kolla
# Whether to use privilege escalation for all operations performed via Kolla
# Ansible.
kolla_ansible_become: true
kolla_ansible_become: false
###############################################################################
# Kolla feature flag configuration.

View File

@ -54,7 +54,7 @@ kolla_ansible_group: kolla
# Whether to use privilege escalation for all operations performed via Kolla
# Ansible.
kolla_ansible_become: true
kolla_ansible_become: false
###############################################################################
# Kolla-ansible inventory configuration.

View File

@ -151,7 +151,7 @@ The following variables affect how Ansible accesses the remote hosts.
Primary group of Kolla SSH user. Default is ``kolla``.
``kolla_ansible_become``
Whether to use privilege escalation for all operations performed via Kolla
Ansible. Default is ``true``.
Ansible. Default is ``false`` since the 8.0.0 Ussuri release.
``kolla_ansible_target_venv``
Path to a virtual environment on remote hosts to use for Ansible module
execution. Default is ``{{ virtualenv_path }}/kolla-ansible``. May be set

View File

@ -169,7 +169,7 @@
#kolla_ansible_group:
# Whether to use privilege escalation for all operations performed via Kolla
# Ansible. Default is 'true'.
# Ansible. Default is 'false'.
#kolla_ansible_become:
###############################################################################

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Modifies the default value of ``kolla_ansible_become`` to ``false``. This
means that Kolla Ansible will no longer use privilege escalation for all
tasks, and will only use it where necessary.