Drone CI: Only run on reachable hosts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ec2683199b
commit
0bdaa53bcd
@ -20,13 +20,13 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- cd coreos-config
|
- cd coreos-config
|
||||||
- ansible-playbook --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
- ansible-playbook --limit host.nc.chaoswg.org --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
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- cd coreos-config
|
- cd coreos-config
|
||||||
- ansible-playbook --check --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
- ansible-playbook --limit host.nc.chaoswg.org --check --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
||||||
- name: Notify Discord
|
- name: Notify Discord
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
Loading…
Reference in New Issue
Block a user