Class: Ansible::Ruby::Modules::Rabbitmq_user

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb

Overview

Add or remove users to RabbitMQ and assign permissions

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#configure_privString?

Returns Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.

Returns:

  • (String, nil)

    Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.



33
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 33

attribute :configure_priv

#force:yes, ...

Returns Deletes and recreates the user.

Returns:

  • (:yes, :no, nil)

    Deletes and recreates the user.



45
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 45

attribute :force

#nodeString?

Returns erlang node name of the rabbit we wish to configure.

Returns:

  • (String, nil)

    erlang node name of the rabbit we wish to configure



29
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 29

attribute :node

#passwordString?

Returns Password of user to add.,To change the password of an existing user, you must also specify C(force=yes).

Returns:

  • (String, nil)

    Password of user to add.,To change the password of an existing user, you must also specify C(force=yes).



15
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 15

attribute :password

#permissionsObject?

Returns a list of dicts, each dict contains vhost, configure_priv, write_priv, and read_priv, and represents a permission rule for that vhost.,This option should be preferable when you care about all permissions of the user.,You should use vhost, configure_priv, write_priv, and read_priv options instead if you care about permissions for just some vhosts.

Returns:

  • (Object, nil)

    a list of dicts, each dict contains vhost, configure_priv, write_priv, and read_priv, and represents a permission rule for that vhost.,This option should be preferable when you care about all permissions of the user.,You should use vhost, configure_priv, write_priv, and read_priv options instead if you care about permissions for just some vhosts.



22
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 22

attribute :permissions

#read_privString?

Returns Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.

Returns:

  • (String, nil)

    Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.



41
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 41

attribute :read_priv

#state:present, ...

Returns Specify if user is to be added or removed.

Returns:

  • (:present, :absent, nil)

    Specify if user is to be added or removed



49
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 49

attribute :state

#tagsObject?

Returns User tags specified as comma delimited.

Returns:

  • (Object, nil)

    User tags specified as comma delimited



19
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 19

attribute :tags

#userString

Returns Name of user to add.

Returns:

  • (String)

    Name of user to add



11
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 11

attribute :user

#vhostString?

Returns vhost to apply access privileges.,This option will be ignored when permissions option is used.

Returns:

  • (String, nil)

    vhost to apply access privileges.,This option will be ignored when permissions option is used.



25
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 25

attribute :vhost

#write_privString?

Returns Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.

Returns:

  • (String, nil)

    Regular expression to restrict configure actions on a resource for the specified vhost.,By default all actions are restricted.,This option will be ignored when permissions option is used.



37
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 37

attribute :write_priv