install ansible requirements befor running molecule
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2019-05-19 16:39:10 +02:00
parent a50329945c
commit 548d337a29
4 changed files with 8 additions and 0 deletions

View File

@ -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",

View File

@ -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

View File

@ -2,4 +2,5 @@
- name: Converge
hosts: all
roles:
- role: xoxys.python3
- role: xoxys.homeassistant

5
requirements.yml Normal file
View File

@ -0,0 +1,5 @@
---
- src: https://gitea.rknet.org/ansible/xoxys.python3.git
name: xoxys.python3
scm: git
version: master