Skip to content
Snippets Groups Projects
Commit fb72c4e2 authored by Lukas Koenen's avatar Lukas Koenen
Browse files

fix: add changed_when and fix type in service enable

parent 59ed6260
No related branches found
No related tags found
No related merge requests found
Pipeline #135492 passed
......@@ -3,6 +3,7 @@
ansible.builtin.command:
cmd: docker run --rm hello-world:latest
register: docker_output
changed_when: false
failed_when: docker_output.rc != 0
become: true
......@@ -16,7 +17,7 @@
- name: Enable Systemd Service
ansible.builtin.systemd:
name: cve-scanner.service
name: oauth2-proxy.service
state: started
enabled: true
daemon_reload: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment