default copy perms look like 0644 now based on ansible source and docs

pull/715/head
Steven Robertson 4 years ago
parent 4b37699b45
commit 22bc5448b1

@ -5,9 +5,8 @@
hosts: test-targets hosts: test-targets
any_errors_fatal: true any_errors_fatal: true
tasks: 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 - 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 register: py_umask
- name: Set default file mode - name: Set default file mode

Loading…
Cancel
Save