tests: ensure perms for SSH private key

This commit is contained in:
David Wilson 2018-04-16 17:55:38 +01:00
parent ce6fb05d87
commit c2f94017c7
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ echo travis_fold:start:job_setup
pip install -U ansible=="${ANSIBLE_VERSION}"
cd ${TRAVIS_BUILD_DIR}/tests/ansible
chmod go= ${TRAVIS_BUILD_DIR}/tests/data/docker/mitogen__has_sudo_pubkey.key
echo \
target \
ansible_host=$DOCKER_HOSTNAME \

View File

@ -36,6 +36,8 @@ strategy_plugins = ${TRAVIS_BUILD_DIR}/ansible_mitogen/plugins/strategy
strategy = mitogen_linear
EOF
chmod go= ${TRAVIS_BUILD_DIR}/tests/data/docker/mitogen__has_sudo_pubkey.key
cat > ansible/inventory/group_vars/debops_all_hosts.yml <<-EOF
ansible_python_interpreter: /usr/bin/python2.7