Drone CI: Install ansible requirements
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Manske 2023-04-06 01:04:16 +02:00
parent 22a2b01af9
commit 61bcf4752d
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -36,6 +36,7 @@ steps:
ANSIBLE_FORCE_COLOR: "true" ANSIBLE_FORCE_COLOR: "true"
commands: commands:
- cd coreos-config - cd coreos-config
- ansible-galaxy install -r requirements.yaml
- ansible-playbook --limit ci_apply --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml - ansible-playbook --limit ci_apply --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
- name: Validate Ansible - name: Validate Ansible
image: registry.tobiasmanske.de/ansible-runner:latest image: registry.tobiasmanske.de/ansible-runner:latest
@ -45,6 +46,7 @@ steps:
ANSIBLE_FORCE_COLOR: "true" ANSIBLE_FORCE_COLOR: "true"
commands: commands:
- cd coreos-config - cd coreos-config
- ansible-galaxy install -r requirements.yaml
- ansible-playbook --limit ci_apply --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml - ansible-playbook --limit ci_apply --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
image_pull_secrets: image_pull_secrets: