From 22bc5448b1a28ea41fb8e5840367005d59c20128 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sat, 3 Oct 2020 16:10:50 -0700 Subject: [PATCH] default copy perms look like 0644 now based on ansible source and docs --- tests/ansible/integration/action/fixup_perms2__copy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ansible/integration/action/fixup_perms2__copy.yml b/tests/ansible/integration/action/fixup_perms2__copy.yml index e2d4ee82..5fa3489c 100644 --- a/tests/ansible/integration/action/fixup_perms2__copy.yml +++ b/tests/ansible/integration/action/fixup_perms2__copy.yml @@ -5,9 +5,8 @@ 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("0600", 8) & ~os.umask(0)))' + shell: python -c 'import os; print("%04o" % (int("0644", 8) & ~os.umask(0)))' register: py_umask - name: Set default file mode