From fbb92e461f524f606a25dac7684f39cf5c440b25 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 6 Sep 2020 14:51:40 -0700 Subject: [PATCH] fix fixup_perms2 default file mode --- tests/ansible/integration/action/fixup_perms2__copy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ansible/integration/action/fixup_perms2__copy.yml b/tests/ansible/integration/action/fixup_perms2__copy.yml index 280267e6..e2d4ee82 100644 --- a/tests/ansible/integration/action/fixup_perms2__copy.yml +++ b/tests/ansible/integration/action/fixup_perms2__copy.yml @@ -5,8 +5,9 @@ hosts: test-targets any_errors_fatal: true tasks: + # default file mode changed to 600 from 666 as of Ansible 2.9.12: https://github.com/geerlingguy/ansible-for-devops/issues/314#issuecomment-675802282 - name: Get default remote file mode - shell: python -c 'import os; print("%04o" % (int("0666", 8) & ~os.umask(0)))' + shell: python -c 'import os; print("%04o" % (int("0600", 8) & ~os.umask(0)))' register: py_umask - name: Set default file mode