Suppress command/shell warnings
This patch prevents warnings from being thrown when using rpm, yum, or dnf with a shell or command module. Change-Id: I8707aa2652aed643b6ddfb20bfd843b226e9bb61
This commit is contained in:
parent
bc8a4826ac
commit
839682ccd4
@ -76,6 +76,8 @@
|
||||
# cleaned out whenever the repo config changes.
|
||||
- name: Force the expiry of the repo metadata
|
||||
command: "{{ ansible_pkg_mgr }} clean metadata"
|
||||
args:
|
||||
warn: no
|
||||
when: add_repos | changed
|
||||
tags:
|
||||
- galera-repos
|
||||
|
@ -36,6 +36,7 @@
|
||||
service mysql stop
|
||||
args:
|
||||
creates: "{{ mysql_securely_configured }}"
|
||||
warn: no
|
||||
tags:
|
||||
- galera_server-config
|
||||
- galera-rhel-config
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
- name: Check major galera install version
|
||||
command: "rpm -qi '{{ galera_mariadb_server_package }}'"
|
||||
args:
|
||||
warn: no
|
||||
failed_when: false
|
||||
register: installed_galera_specific
|
||||
when:
|
||||
|
Loading…
Reference in New Issue
Block a user