MonolithProjects / ansible-github_actions_runner

Ansible Role to deploy GitHub Actions self-hosted runner
https://galaxy.ansible.com/ui/standalone/roles/monolithprojects/github_actions_runner/
MIT License
190 stars 77 forks source link

bug: service restart task does not work #172

Closed MonolithProjects closed 1 year ago

MonolithProjects commented 1 year ago

Summary

Task which has to restart the runner will only stop the runner service

Issue Type

Bug Report

Ansible Version

ansible [core 2.14.5]
  config file = None
  configured module search path = ['/home/mike/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/mike/.local/lib/python3.11/site-packages/ansible
  ansible collection location = /home/mike/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/mike/.local/bin/ansible
  python version = 3.11.4 (main, Jun  7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

Steps to Reproduce

Initial deployment of a runner will deploy the runner in stopped state

Expected Results

On initial deployment and runner_state: started the runner will be in running state

Actual Results

On initial deployment and `runner_state: started` the runner service is dead