Use real tmpdir for ansible runner tests
Use real tmpdir for ansible runner tests

Additionally mock os.chmod in case the file does not exist.

Change-Id: I404391c0c755681831c33ec7bc752b5d7878ed85
Closes-Bug: #1945660

openstack/python-tripleoclient