install community.general collection

pull/715/head
Steven Robertson 4 years ago
parent 3a3b8bcb80
commit 55c5a274cc

@ -23,3 +23,6 @@ batches.extend(
) )
ci_lib.run_batches(batches) ci_lib.run_batches(batches)
# after ansible is installed, install common collections until ansible==2.10 comes out
ci_lib.run('ansible-galaxy collection install community.general')

@ -42,6 +42,9 @@ with ci_lib.Fold('job_setup'):
# ansible v2.10 isn't out yet so we're installing from github for now # ansible v2.10 isn't out yet so we're installing from github for now
run('pip install -q {}'.format(ci_lib.ANSIBLE_VERSION)) run('pip install -q {}'.format(ci_lib.ANSIBLE_VERSION))
# after ansible is installed, install common collections until ansible==2.10 comes out
run('ansible-galaxy collection install community.general')
os.chdir(TESTS_DIR) os.chdir(TESTS_DIR)
os.chmod('../data/docker/mitogen__has_sudo_pubkey.key', int('0600', 7)) os.chmod('../data/docker/mitogen__has_sudo_pubkey.key', int('0600', 7))

@ -18,3 +18,6 @@ ci_lib.run_batches([
'docker pull %s' % (ci_lib.image_for_distro('debian'),), 'docker pull %s' % (ci_lib.image_for_distro('debian'),),
], ],
]) ])
# after ansible is installed, install common collections until ansible==2.10 comes out
ci_lib.run('ansible-galaxy collection install community.general')

@ -18,3 +18,6 @@ batches = [
] ]
ci_lib.run_batches(batches) ci_lib.run_batches(batches)
# after ansible is installed, install common collections until ansible==2.10 comes out
ci_lib.run('ansible-galaxy collection install community.general')

@ -25,6 +25,9 @@ with ci_lib.Fold('job_setup'):
# ansible v2.10 isn't out yet so we're installing from github for now # ansible v2.10 isn't out yet so we're installing from github for now
run('pip install -q virtualenv {}'.format(ci_lib.ANSIBLE_VERSION)) run('pip install -q virtualenv {}'.format(ci_lib.ANSIBLE_VERSION))
# after ansible is installed, install common collections until ansible==2.10 comes out
run('ansible-galaxy collection install community.general')
os.chmod(KEY_PATH, int('0600', 8)) os.chmod(KEY_PATH, int('0600', 8))
if not ci_lib.exists_in_path('sshpass'): if not ci_lib.exists_in_path('sshpass'):
run("brew install http://git.io/sshpass.rb") run("brew install http://git.io/sshpass.rb")

Loading…
Cancel
Save