From c2f94017c73221777bcd9edab1d0c434c247484c Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 16 Apr 2018 17:55:38 +0100 Subject: [PATCH] tests: ensure perms for SSH private key --- .travis/ansible_tests.sh | 1 + .travis/debops_tests.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis/ansible_tests.sh b/.travis/ansible_tests.sh index 5328b9e1..a5e2c383 100755 --- a/.travis/ansible_tests.sh +++ b/.travis/ansible_tests.sh @@ -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 \ diff --git a/.travis/debops_tests.sh b/.travis/debops_tests.sh index 83c4bdf6..168ba5ef 100755 --- a/.travis/debops_tests.sh +++ b/.travis/debops_tests.sh @@ -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