Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Dec 16, 2024
1 parent d2d6238 commit aadb471
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions roles/semaphore/tasks/present.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,33 +142,6 @@
group: semaphore
notify: Restart semaphore

- name: Create Semaphoreui SELinux policy
when: piet is defined
block:
- name: Copy policy files
ansible.builtin.copy:
src: "{{ item }}"
dest: /tmp/
mode: '0644'
loop:
- semaphoreui.pp
- semaphoreui.te

- name: Install SELinux policy
ansible.builtin.command:
chdir: /tmp
cmd: semodule -i semaphoreui.pp
changed_when: false
always:
- name: Remove files
ansible.builtin.file:
path: "/tmp/{{ item }}"
state: absent
loop:
- semaphoreui.pp
- semaphoreui.te


- name: Create semaphore service
ansible.builtin.template:
src: semaphore.service.j2
Expand Down

0 comments on commit aadb471

Please sign in to comment.