Skip to content

Commit

Permalink
Ensure cnspec service is always restarted (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
schnipschnap authored Dec 20, 2023
1 parent 62ec314 commit 232f737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/linux_login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
- name: Ensure cnspec service is enabled and running
ansible.builtin.systemd:
name: cnspec.service
state: started
state: restarted
daemon_reload: yes
enabled: yes
become: "{{ use_become }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
ansible.windows.win_service:
name: Mondoo
start_mode: auto
state: started
state: restarted
when: not ansible_check_mode

- name: Ensure cnquery and cnspec are managed
Expand Down

0 comments on commit 232f737

Please sign in to comment.