diff --git a/changelogs/fragments/64582-postgresql_publication_fix_typo_in_module_warn.yml b/changelogs/fragments/64582-postgresql_publication_fix_typo_in_module_warn.yml new file mode 100644 index 00000000000..ac9b3f94aad --- /dev/null +++ b/changelogs/fragments/64582-postgresql_publication_fix_typo_in_module_warn.yml @@ -0,0 +1,2 @@ +bugfixes: +- postgresql_publication - fix typo in module.warn method name (https://github.com/ansible/ansible/issues/64582). diff --git a/lib/ansible/modules/database/postgresql/postgresql_publication.py b/lib/ansible/modules/database/postgresql/postgresql_publication.py index ae431e41ac3..bef41ba7e7f 100644 --- a/lib/ansible/modules/database/postgresql/postgresql_publication.py +++ b/lib/ansible/modules/database/postgresql/postgresql_publication.py @@ -603,7 +603,7 @@ def main(): module.warn('parameter "owner" is ignored when "state=absent"') if state == 'present' and cascade: - module.warm('parameter "cascade" is ignored when "state=present"') + module.warn('parameter "cascade" is ignored when "state=present"') # Connect to DB and make cursor object: conn_params = get_conn_params(module, module.params)