install ansible requirements befor running molecule
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a50329945c
commit
548d337a29
@ -58,6 +58,7 @@ local PipelineDeployment = {
|
||||
},
|
||||
commands: [
|
||||
"/bin/bash /docker-entrypoint.sh",
|
||||
"ansible-galaxy install --force -r requirements.yml -p /drone/src",
|
||||
"molecule create --scenario-name ec2-centos-7",
|
||||
"molecule converge --scenario-name ec2-centos-7",
|
||||
"molecule verify --scenario-name ec2-centos-7",
|
||||
|
@ -55,6 +55,7 @@ steps:
|
||||
image: xoxys/molecule:ec2-linux-amd64
|
||||
commands:
|
||||
- /bin/bash /docker-entrypoint.sh
|
||||
- ansible-galaxy install --force -r requirements.yml -p /drone/src
|
||||
- molecule create --scenario-name ec2-centos-7
|
||||
- molecule converge --scenario-name ec2-centos-7
|
||||
- molecule verify --scenario-name ec2-centos-7
|
||||
|
@ -2,4 +2,5 @@
|
||||
- name: Converge
|
||||
hosts: all
|
||||
roles:
|
||||
- role: xoxys.python3
|
||||
- role: xoxys.homeassistant
|
||||
|
5
requirements.yml
Normal file
5
requirements.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- src: https://gitea.rknet.org/ansible/xoxys.python3.git
|
||||
name: xoxys.python3
|
||||
scm: git
|
||||
version: master
|
Loading…
Reference in New Issue
Block a user