diff --git a/releasenotes/notes/ansible_tmp_folder-469f1f822fd7217a.yaml b/releasenotes/notes/ansible_tmp_folder-469f1f822fd7217a.yaml new file mode 100644 index 0000000000..87da791209 --- /dev/null +++ b/releasenotes/notes/ansible_tmp_folder-469f1f822fd7217a.yaml @@ -0,0 +1,5 @@ +--- +other: + - | + Default value of ``ANSIBLE_LOCAL_TEMP`` was set to ``/tmp`` folder, instead + of the default value ``ANSIBLE_HOME ~ "/tmp"``. diff --git a/scripts/openstack-ansible.rc b/scripts/openstack-ansible.rc index 4c38cb03e2..bdfc387ae1 100644 --- a/scripts/openstack-ansible.rc +++ b/scripts/openstack-ansible.rc @@ -27,6 +27,8 @@ export ANSIBLE_ROLES_PATH="${ANSIBLE_ROLES_PATH:-/etc/ansible/roles:/etc/ansible export ANSIBLE_COLLECTIONS_PATH="${ANSIBLE_COLLECTIONS_PATH:-/etc/ansible}" +export ANSIBLE_LOCAL_TEMP="${ANSIBLE_LOCAL_TEMP:-/tmp}" + export ANSIBLE_LIBRARY="${ANSIBLE_LIBRARY:-/etc/ansible/roles/ceph-ansible/library}" export ANSIBLE_FILTER_PLUGINS="${ANSIBLE_FILTER_PLUGINS:-/etc/ansible/roles/ceph-ansible/plugins/filter}" export ANSIBLE_CALLBACK_PLUGINS="${ANSIBLE_CALLBACK_PLUGINS:-/etc/ansible/roles/ceph-ansible/plugins/callback}"