--- kind: pipeline type: docker name: Ansible-Playbook trigger: branch: - main event: include: - push - custom node: ansible: true steps: - name: Run Ansible image: registry.tobiasmanske.de/ansible-runner:latest pull: always commands: - cd coreos-config - ansible-playbook --limit host.nc.chaoswg.org --private-key /ssh_key --inventory=inventory.yaml playbook.yaml - name: Validate Ansible image: registry.tobiasmanske.de/ansible-runner:latest pull: always commands: - cd coreos-config - ansible-playbook --limit host.nc.chaoswg.org --check --private-key /ssh_key --inventory=inventory.yaml playbook.yaml image_pull_secrets: - registry