This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 51aee46 Fix issue with nginx container not restarting on reboot
(#4642)
51aee46 is described below
commit 51aee46d9bab53102ae51bb50d0d46a7a3e2cab4
Author: Jonathan Kalbfeld <[email protected]>
AuthorDate: Thu Aug 6 16:42:42 2020 -0700
Fix issue with nginx container not restarting on reboot (#4642)
This changes it to use /var/tmp instead of the more volatile /tmp
* Adjust tmp path based on platform.
Co-authored-by: Rodric Rabbah <[email protected]>
---
ansible/environments/local/group_vars/all | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansible/environments/local/group_vars/all
b/ansible/environments/local/group_vars/all
index d8f93f1..b8e390c 100644
--- a/ansible/environments/local/group_vars/all
+++ b/ansible/environments/local/group_vars/all
@@ -15,7 +15,7 @@
# limitations under the License.
#
-openwhisk_tmp_dir: "{{ lookup('env', 'OPENWHISK_TMP_DIR')|default('/tmp',
true) }}"
+openwhisk_tmp_dir: "{{ lookup('env', 'OPENWHISK_TMP_DIR')|default('/tmp' if
ansible_distribution == 'MacOSX' else '/var/tmp', true) }}"
config_root_dir: "{{ openwhisk_tmp_dir }}/wskconf"
whisk_logs_dir: "{{ openwhisk_tmp_dir }}/wsklogs"
coverage_enabled: "{{ lookup('env', 'GRADLE_COVERAGE') | default('false',
true) | bool}}"