Can run untagged jobs: no
and you have a tag ansible
for this runner.
Your jobs don’t have any tags specified, you should try to add a tag to the jobs:
stages:
- build
- production
job_build:
stage: build
tags:
- ansible
script:
- ansible-playbook -i ./ansible/hosts/production.yml --extra-vars "version=$CI_BUILD_TAG" ./ansible/build.yml
only:
- tags
job_production:
stage: production
tags:
- ansible
script:
- ansible-playbook -i ./ansible/hosts/production.yml --extra-vars "version=$CI_BUILD_TAG" ./ansible/deploy.yml
only:
- tags
when: on_success