Skip to content

Commit

Permalink
Change 'install curl' task condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Enaraque committed Jul 11, 2024
1 parent 19f18eb commit d2b5b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/wazuh/ansible-wazuh-manager/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package:
name: curl
state: present
when: ansible_distribution != "Amazon" or (ansible_distribution == "Amazon" and ansible_distribution_version != "2023")
when: ansible_distribution != "Amazon" and ansible_distribution_version != "2023"
register: package_status
until: "package_status is not failed"
retries: 10
Expand Down

0 comments on commit d2b5b62

Please sign in to comment.