ansible/test
Sam Doran dc79528cc6
Fix warning for new default permissions when mode is not specified (#70976)
Follow up to #70221
Related to #67794
CVE-2020-1736

When set_mode_if_different() is called with mode of 'None', ensure we issue
a warning about the change in default permissions.

Add integration tests to ensure the warning works properly.

* Fix tests
- actually use custom module 🤦‍♂️
- verify file permission on created files
- use remote_tmp_dir so we're ready for split controller
- improve test module so we can skip the call to set_fs_attributes_if_different()
- fix tests for CentOS 6
2020-07-30 00:05:29 -04:00
..
ansible_test
integration Fix warning for new default permissions when mode is not specified (#70976) 2020-07-30 00:05:29 -04:00
lib/ansible_test Cap pytest version to avoid relative import issue. 2020-07-28 14:51:39 -07:00
sanity Collections docs generation (#59761) 2020-07-17 13:07:35 -07:00
support Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
units Update docs for --tags default, and add some tests (#70939) 2020-07-29 17:16:57 -05:00
utils/shippable Test ansible-galaxy against pulp/pulp_ansible (#69605) 2020-06-17 16:06:07 -05:00