commit 6d87aa8debea027f20bcd64d57edaee20b91998a
Author: Stuart Grace <email address hidden>
Date: Thu May 18 13:35:06 2017 +0100
Add var for environment used only inside playbooks
When global_environment_variables is set in user_variables.yml, this
installs environment settings in /etc/environment on all hosts and
containers. These remain in place after deployment is complete.
This patch adds a similar variable deployment_environment_variables
that defines environment strings applied only while the playbooks
are running. They leave nothing behind on the hosts or containers.
This may be used, for example, for proxy settings required only
during deployment. A simpler no_proxy setting is adequate during
deployment, so this provides a workaround to Bug #1691749.
(cherry picked from commit 77ac88197c223968e845e57706b81af24d6aa443)
Reviewed: https:/ /review. openstack. org/467659 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=6d87aa8debe a027f20bcd64d57 edaee20b91998a
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 6d87aa8debea027 f20bcd64d57edae e20b91998a
Author: Stuart Grace <email address hidden>
Date: Thu May 18 13:35:06 2017 +0100
Add var for environment used only inside playbooks
When global_ environment_ variables is set in user_variables.yml, this
installs environment settings in /etc/environment on all hosts and
containers. These remain in place after deployment is complete.
This patch adds a similar variable deployment_ environment_ variables
that defines environment strings applied only while the playbooks
are running. They leave nothing behind on the hosts or containers.
This may be used, for example, for proxy settings required only
during deployment. A simpler no_proxy setting is adequate during
deployment, so this provides a workaround to Bug #1691749.
(cherry picked from commit 77ac88197c22396 8e845e57706b81a f24d6aa443)
Change-Id: Ia15d2133c6749f a9496bbf9359b8b f075742d60e
Related-Bug: #1691749