Go to file
Renovate a376318f58
All checks were successful
ci / docker (pull_request) Successful in 17s
⬆️ Update golang Docker tag to v1.23.0
2024-08-14 01:10:27 +00:00
.gitea/workflows ⬆️ Update docker/build-push-action action to v6 (#53) 2024-06-20 12:07:01 +02:00
.woodpecker.yml edit woodpecker 2023-07-04 18:03:39 +02:00
Dockerfile ⬆️ Update golang Docker tag to v1.23.0 2024-08-14 01:10:27 +00:00
entrypoint.go Fix private key 2023-07-04 17:54:42 +02:00
go.mod ⬆️ Update module go.uber.org/zap to v1.27.0 (#40) 2024-02-22 09:19:34 +01:00
go.sum ⬆️ Update module go.uber.org/zap to v1.27.0 (#40) 2024-02-22 09:19:34 +01:00
README.md go (#13) 2023-07-04 16:38:22 +02:00
renovate.json Forks 2022-12-26 11:39:09 +01:00

Drone Ansible Runner

Config:

kind: pipeline
name: default

steps:
  check-ansible-syntax:
    image: git.sebclem.fr/sebclem/woodpecker-ansible-runner
    pull: true
    settings:
      playbook: playbooks/install.yml
      galaxy_file: roles/requirements.yml
      check_syntax: true
      vault_token:
        from_secret: ansible_vault_token
    when:
      - event: "push"
        branch: [main, master]
      - event: [pull_request, manual, deployment]

  run-ansible-playbook:
    image: git.sebclem.fr/sebclem/woodpecker-ansible-runner
    pull: true
    settings:
      verbosity: ${verbosity=0}
      diff: ${diff=false}
      check: ${check=false}
      limit: ${limit}
      tags: ${tags}
      playbook: playbooks/install.yml
      galaxy_file: roles/requirements.yml
      vault_token:
        from_secret: ansible_vault_token
      private_key:
        from_secret: ansible_private_key
    when:
      environment: production
      event: deployment

when:
  - event: "push"
    branch: [main, master]
  - event: [pull_request, manual, deployment]