1 Commits

Author SHA1 Message Date
68f9c4d550 Merge pull request 'ansible with drone ci' (#1) from development into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #1
2023-11-17 00:48:10 -05:00

View File

@ -13,7 +13,7 @@ steps:
ANSIBLE_INVENTORY: ANSIBLE_INVENTORY:
from_secret: ansible_inventory from_secret: ansible_inventory
commands: commands:
# - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
- ansible-lint --offline $DRONE_WORKSPACE - ansible-lint --offline $DRONE_WORKSPACE
- ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml - ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
- echo "Build complete and successful for $DRONE_REPO_NAME" - echo "Build complete and successful for $DRONE_REPO_NAME"
@ -26,23 +26,6 @@ steps:
exclude: exclude:
- pull_request - pull_request
- name: push commit
image: appleboy/drone-git-push
settings:
branch: testing
remote: gitea@10.10.10.109:chris/drone-test-1.git
force: false
commit: true
empty_commit: true
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
author_name: "Drone CI"
author_email: "chris@thezengarden.net"
skip_verify: true
ssh_key:
from_secret: gitea_ssh_privkey
# --- # ---
# name: Test Ansible Linting of drone-test-1 # name: Test Ansible Linting of drone-test-1
# kind: pipeline # kind: pipeline