This repository has been archived on 2023-02-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Renovate 9656d18562
Some checks reported errors
continuous-integration/drone/push Build was killed
⬆️ Update dependency python to v3.10.6 (#13)
Reviewed-on: #13
Co-authored-by: Renovate <ronovate@seb6596.ovh>
Co-committed-by: Renovate <ronovate@seb6596.ovh>
2022-08-05 10:00:10 +02:00
.drone.yml 🔨 Add cache image 2022-04-26 11:58:13 +02:00
Dockerfile ⬆️ Update dependency python to v3.10.6 (#13) 2022-08-05 10:00:10 +02:00
entrypoint ✏️ Add emoji 2022-04-26 11:52:52 +02:00
README.md 🔨 Add tags 2022-02-28 11:27:38 +01:00
renovate.json Update 'renovate.json' 2022-01-19 11:19:30 +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