From 5bf566466749eeeaa3ab695101e7f20ba0a38e0b Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 4 Apr 2018 12:30:48 +0100 Subject: [PATCH] issue #164: speed up DH generation step --- .travis/debops_tests.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis/debops_tests.sh b/.travis/debops_tests.sh index 0e3e3607..4e0a3557 100755 --- a/.travis/debops_tests.sh +++ b/.travis/debops_tests.sh @@ -27,8 +27,13 @@ strategy_plugins = ${TRAVIS_BUILD_DIR}/ansible_mitogen/plugins/strategy strategy = mitogen_linear EOF -cat >> ansible/inventory/hosts <<-EOF -target ansible_python_interpreter=/usr/bin/python2.7 ansible_connection=docker +cat > ansible/inventory/host_vars/target.yml <<-EOF +ansible_connection: docker +ansible_python_interpreter: /usr/bin/python2.7 + +# Speed up slow DH generation. +dhparam__bits: [128, 64] EOF +echo target >> ansible/inventory/hosts debops common