From 98f9b9d4d515cc70187a5bc5bdb0a557d4dd2737 Mon Sep 17 00:00:00 2001 From: Bas Meijer Date: Mon, 16 Dec 2024 11:05:59 +0100 Subject: [PATCH] cleanup --- roles/semaphore/tasks/present.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/roles/semaphore/tasks/present.yml b/roles/semaphore/tasks/present.yml index 4154e9f..4d517e1 100644 --- a/roles/semaphore/tasks/present.yml +++ b/roles/semaphore/tasks/present.yml @@ -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