Remove unused if/else clause, since it doesn't change anything
Use more variable sources when templating the play ds

Fixes #9699
Have remote_expanduser honor sudo and su users.

Fixes #9663
Merge pull request #9086 from mscherer/refactor_doc_script

Remove unused if/else clause, since it doesn't change anything
Issue-9704 Better handling of missing python

When they python interpreter is set incorrectly for the machine the file
is being checked for (e.g. for the local or the remote), the error
manifests as a readability or directory missing error which can be very
misleading.
Merge pull request #9707 from jimktrains/issue-9704-take2

Issue-9704 Better handling of missing python
Fix checksum code to work with delegate_to/local_action

Fixes #9704
Update modules to allow USAGE as a valid grant option for postgres
better exception handling for unexpected exceptions
Revert "Make listify respect the global setting for undefined variables."

This 'mostly' reverts commit 2769098fe7fcb51302cc8fabe9a1ff3f51aeec6f.

Conflicts:
	lib/ansible/utils/__init__.py
	test/units/TestUtils.py
Merge pull request #9715 from bcoca/listify_revert_errorhandling

Listify revert errorhandling
fixed integration test as with_items always returns a list, even if
empty
Merge pull request #9717 from bcoca/fix_integration_test_with_conditionals

fixed integration test as with_items
Make test for skipping agree with the way current output formats a skip
Add a check that tilde expansion with copy works
Have known_hosts function use the url parameter instead of getting a specific attribute out of the module dict.

This makes the function useful in more places