diff --git a/Jenkinsfile b/Jenkinsfile index b789794..3804b55 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -63,7 +63,7 @@ pipeline { stage('Install Ansible Collections') { steps { - sh 'ansible-galaxy collection install -r requirements.yml --force' + sh 'ansible-galaxy collection install -r requirements.yml -p ./collections --force' } } diff --git a/ansible.cfg b/ansible.cfg index 706d06b..36541ef 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,7 @@ [defaults] inventory = ./inventory/hosts.yml roles_path = ./roles +collections_path = ./collections host_key_checking = False retry_files_enabled = False gathering = smart