Go to file
Renovate d2e6587288
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
⬆️ Update dependency ansible to v7.6.0
2023-06-22 01:05:37 +00:00
.woodpecker.yml Enable Cache 2023-04-20 19:39:39 +02:00
Dockerfile ⬆️ Update dependency ansible to v7.6.0 2023-06-22 01:05:37 +00:00
entrypoint Fix sed command 2023-04-22 12:10:20 +02:00
old.yml 🤖 Move to woodpecker 2022-12-19 15:31:19 +01:00
README.md 🔨 Add tags 2022-02-28 11:27:38 +01:00
renovate.json Forks 2022-12-26 11:39:09 +01:00

Drone Ansible Runner

Config:

kind: pipeline
name: default

steps:
  - name: Check ansible syntax
    image: harbor.sebclem.fr/sebclem/drone-ansible-runner
    settings:
      playbook: sites.yml
      galaxy_file: roles/requirements.yml
      check_syntax: true
      vault_token:
        from_secret: ansible_vault_password
      private_key:
        from_secret: ansible_private_key
    when:
      event:
        - push
        - custom

  - name: Run ansible playbook
    image: harbor.sebclem.fr/sebclem/drone-ansible-runner
    settings:
      verbosity: ${verbosity=1}
      limit: ${limit}
      tags: ${tags}
      playbook: sites.yml
      galaxy_file: roles/requirements.yml
      check_syntax: true
      vault_token:
        from_secret: ansible_vault_password
      private_key:
        from_secret: ansible_private_key
      limit: harbor.home
    when:
      event:
        - promote
        - rollback
        - custom