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
|
||||
commands:
|
||||
- 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
|
||||
image: registry.tobiasmanske.de/ansible-runner:latest
|
||||
pull: always
|
||||
commands:
|
||||
- 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
|
||||
when:
|
||||
status:
|
||||
|
Loading…
Reference in New Issue
Block a user