Skip to content

Commit

Permalink
Update to 1.0.4
Browse files Browse the repository at this point in the history
Fix missing task for starting act_runner after registration
  • Loading branch information
wzzrd committed Mar 20, 2024
1 parent e8ab54c commit 2794c3b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.4]

#### Fixed

- Fixed missing task for starting act_runner in act_runner role after registration

## [1.0.1]

#### Fixed
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: wzzrd
name: gitea

# The version of the collection. Must be compatible with semantic versioning
version: 1.0.3
version: 1.0.4

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
22 changes: 14 additions & 8 deletions roles/act/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
path: "{{ act_bin_dir }}/act_runner"
register: act_stat

- name: Deploy systemd service file
ansible.builtin.template:
src: "act_runner.service.j2"
dest: "/etc/systemd/system/act_runner.service"
mode: "0644"
notify:
- Reload systemd
- Restart act_runner

- name: Check if act is already installed and get version if so
when: act_stat.stat.exists
tags:
Expand Down Expand Up @@ -249,11 +258,8 @@
become: true
become_user: "{{ act_user }}"

- name: Deploy systemd service file
ansible.builtin.template:
src: "act_runner.service.j2"
dest: "/etc/systemd/system/act_runner.service"
mode: "0644"
notify:
- Reload systemd
- Restart act_runner
- name: Make sure act daemon is always running
ansible.builtin.service:
name: act_runner
enabled: true
state: started

0 comments on commit 2794c3b

Please sign in to comment.