This commit is contained in:
parent
3a900a7c9c
commit
6580b5ee34
1 changed files with 9 additions and 8 deletions
|
|
@ -12,6 +12,7 @@ steps:
|
|||
settings:
|
||||
host:
|
||||
- test.band-on.com
|
||||
- band-on.com
|
||||
username:
|
||||
from_secret: drone_ansible_user
|
||||
key:
|
||||
|
|
@ -28,8 +29,6 @@ steps:
|
|||
playbook: playbook.yml
|
||||
inventory: hosts
|
||||
ssh_extra_args: "-o StrictHostKeyChecking=no"
|
||||
# requirements: requirements.txt
|
||||
# galaxy: requirements.yml
|
||||
syntax_check: true
|
||||
when:
|
||||
event:
|
||||
|
|
@ -42,6 +41,8 @@ steps:
|
|||
when:
|
||||
event:
|
||||
- pull_request
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: Show Diff and Check
|
||||
image: plugins/ansible:3
|
||||
|
|
@ -57,11 +58,11 @@ steps:
|
|||
diff: true
|
||||
check: true
|
||||
ssh_extra_args: "-o StrictHostKeyChecking=no"
|
||||
# requirements: requirements.txt
|
||||
# galaxy: requirements.yml
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: webhook-pr
|
||||
image: plugins/webhook
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue