This commit is contained in:
parent
7ea05ed93a
commit
2aec1c62a5
1 changed files with 14 additions and 0 deletions
14
.drone.yml
14
.drone.yml
|
|
@ -7,6 +7,20 @@ trigger:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: check SSH
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- test.band-on.com
|
||||||
|
username:
|
||||||
|
from_secret: drone_ansible_user
|
||||||
|
key:
|
||||||
|
from_secret: drone_ansible_ssh_private_key
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
script:
|
||||||
|
- echo "Hello World"
|
||||||
|
|
||||||
- name: Syntax Check
|
- name: Syntax Check
|
||||||
image: plugins/ansible:3
|
image: plugins/ansible:3
|
||||||
settings:
|
settings:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue