Skip to content

Commit

Permalink
don't pass warn: false to command module
Browse files Browse the repository at this point in the history
this is not supported anymore in ansible-core 2.14
  • Loading branch information
evgeni authored and ehelms committed Jan 19, 2023
1 parent 819b0c3 commit dc98a82
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions roles/foreman_client_repositories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

- name: 'Clean yum'
command: 'yum clean all'
args:
warn: false
tags:
- packages
when: ansible_os_family == 'RedHat'
2 changes: 0 additions & 2 deletions roles/foreman_repositories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

- name: 'Clean yum'
command: 'yum clean all'
args:
warn: false
tags:
- packages
when: ansible_os_family == 'RedHat'
1 change: 0 additions & 1 deletion roles/foreman_repositories/tasks/redhat_staging_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
# https://github.com/ansible/ansible/issues/56504
# https://github.com/ansible/ansible/issues/64852
args:
warn: False
creates: /etc/dnf/modules.d/foreman.module
when:
- foreman_repositories_version == "nightly" or foreman_repositories_version is version('3.2', '>=')
Expand Down
2 changes: 0 additions & 2 deletions roles/katello_repositories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

- name: 'Clean yum'
command: 'yum clean all'
args:
warn: false
tags:
- packages
when: ansible_os_family == 'RedHat'
1 change: 0 additions & 1 deletion roles/katello_repositories/tasks/staging_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
# https://github.com/ansible/ansible/issues/56504
# https://github.com/ansible/ansible/issues/64852
args:
warn: False
creates: /etc/dnf/modules.d/katello.module
when:
- katello_repositories_version == "nightly" or katello_repositories_version is version('4.4', '>=')
Expand Down

0 comments on commit dc98a82

Please sign in to comment.