Skip to content

Commit

Permalink
Drop warn from command args
Browse files Browse the repository at this point in the history
warn argument is not valid for the command module and causes
newer ansible to hard fail on it.
  • Loading branch information
Dmitriy Rabotyagov committed Oct 20, 2023
1 parent c4a492a commit 8218da4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tasks/pacemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
- name: Enable HighAvailability repository
command: "dnf config-manager --enable {{ _centos_ha_repo_name[ansible_facts['distribution_major_version']] }}"
changed_when: false
args:
warn: false
when:
- ansible_facts['os_family'] | lower == 'redhat'

Expand Down

0 comments on commit 8218da4

Please sign in to comment.