Compare commits

..

No commits in common. "8c511fadaad5e1c3b93efced1f67339cbadab973" and "1f7d91c0bd87418abbe9fba0c40f67b6cb4f40f6" have entirely different histories.

View file

@ -21,12 +21,6 @@ steps:
command_timeout: 2m
script:
- echo "Hello World"
when:
event:
- push
- tag
branch:
- main
- name: Syntax Check
image: plugins/ansible:3
@ -39,7 +33,6 @@ steps:
when:
event:
- pull_request
- push
- name: Lint
image: cytopia/ansible-lint
@ -48,7 +41,6 @@ steps:
when:
event:
- pull_request
- push
status:
- success
@ -68,7 +60,7 @@ steps:
ssh_extra_args: "-o StrictHostKeyChecking=no"
when:
event:
- push
- pull_request
status:
- success
@ -92,26 +84,6 @@ steps:
event:
- pull_request
- name: webhook-push-start
image: plugins/webhook
settings:
username:
from_secret: mattermost_username
password:
from_secret: mattermost_password
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
content_type: application/json
template: |
{
"text": "${DRONE_REPO} build is starting\nBuild: https://drone.ulrich.engineering/rulrich/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
}
when:
branch:
- main
event:
- push
- tag
- name: Apply Playbook
image: plugins/ansible:3
settings:
@ -124,6 +96,8 @@ steps:
private_key:
from_secret: drone_ansible_ssh_private_key
ssh_extra_args: "-o StrictHostKeyChecking=no"
# requirements: requirements.txt
# galaxy: requirements.yml
diff: true
when:
branch: