Disable become root in delegated task
This commit is contained in:
parent
36e68e255e
commit
31e1fa1656
@ -1,6 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Get latest Wazuh release
|
||||
become: false
|
||||
shell: "curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\\1/'| cut -c 2-"
|
||||
register: wazuh_latest_release
|
||||
delegate_to: localhost
|
||||
|
||||
Loading…
Reference in New Issue
Block a user