diff --git a/resources/rabbitmq_user/actions/remove.yml b/resources/rabbitmq_user/actions/remove.yml index b73859b..cafb598 100644 --- a/resources/rabbitmq_user/actions/remove.yml +++ b/resources/rabbitmq_user/actions/remove.yml @@ -1,6 +1,6 @@ - hosts: [{{ ip }}] sudo: yes tasks: - - new_rabbitmq_user: user={{user_name}} - vhost={{vhost_name}} - state=absent + - rabbitmq_user: user={{user_name}} + vhost={{vhost_name}} + state=absent diff --git a/resources/rabbitmq_user/actions/run.yml b/resources/rabbitmq_user/actions/run.yml index 9964c22..0a9f719 100644 --- a/resources/rabbitmq_user/actions/run.yml +++ b/resources/rabbitmq_user/actions/run.yml @@ -1,11 +1,11 @@ - hosts: [{{ ip }}] sudo: yes tasks: - - new_rabbitmq_user: user={{user_name}} - password={{password}} - vhost={{vhost_name}} - configure_priv=.* - read_priv=.* - write_priv=.* - tags={{tags}} - state=present + - rabbitmq_user: user={{user_name}} + password={{password}} + vhost={{vhost_name}} + configure_priv=.* + read_priv=.* + write_priv=.* + tags={{tags}} + state=present diff --git a/resources/rabbitmq_vhost/actions/remove.yml b/resources/rabbitmq_vhost/actions/remove.yml index 8dcefd7..f5d1a7c 100644 --- a/resources/rabbitmq_vhost/actions/remove.yml +++ b/resources/rabbitmq_vhost/actions/remove.yml @@ -1,5 +1,5 @@ - hosts: [{{ ip }}] sudo: yes tasks: - - new_rabbitmq_vhost: name={{vhost_name}} - state=absent + - rabbitmq_vhost: name={{vhost_name}} + state=absent diff --git a/resources/rabbitmq_vhost/actions/run.yml b/resources/rabbitmq_vhost/actions/run.yml index 52b8bb2..dadf4b7 100644 --- a/resources/rabbitmq_vhost/actions/run.yml +++ b/resources/rabbitmq_vhost/actions/run.yml @@ -1,5 +1,5 @@ - hosts: [{{ ip }}] sudo: yes tasks: - - new_rabbitmq_vhost: name={{vhost_name}} - state=present + - rabbitmq_vhost: name={{vhost_name}} + state=present