--- # Run by verify.yml in a child ansible-playbook process, because the CI guard reads the # controller's environment (lookup env), which a play cannot change; the child gets its # environment from the task that starts it, so the result does not depend on what the runner # exports. With a CI variable set it fails at the CI guard; with them blank it fails at the # registration inputs assert of the mint, because gitea_runner_token_host is empty. Either way # it must stop before the registration is backed up, stopped or removed. - name: Force a re-registration with a controlled environment hosts: all gather_facts: false tasks: - name: Run the role with gitea_runner_force_register ansible.builtin.include_role: name: mortis.kamino.gitea_runner vars: gitea_runner_force_register: true