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