Class: Ansible::Ruby::Modules::Rabbitmq_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rabbitmq_user
- 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
-
#configure_priv ⇒ String?
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.
-
#force ⇒ :yes, ...
Deletes and recreates the user.
-
#node ⇒ String?
Erlang node name of the rabbit we wish to configure.
-
#password ⇒ String?
Password of user to add.,To change the password of an existing user, you must also specify C(force=yes).
-
#permissions ⇒ Object?
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.
-
#read_priv ⇒ String?
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.
-
#state ⇒ :present, ...
Specify if user is to be added or removed.
-
#tags ⇒ Object?
User tags specified as comma delimited.
-
#user ⇒ String
Name of user to add.
-
#vhost ⇒ String?
Vhost to apply access privileges.,This option will be ignored when permissions option is used.
-
#write_priv ⇒ String?
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.
Methods inherited from Base
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_priv ⇒ String?
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.
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.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 45 attribute :force |
#node ⇒ String?
Returns 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 |
#password ⇒ String?
Returns 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 |
#permissions ⇒ Object?
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.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 22 attribute :permissions |
#read_priv ⇒ String?
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.
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.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 49 attribute :state |
#tags ⇒ Object?
Returns User tags specified as comma delimited.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 19 attribute :tags |
#user ⇒ String
Returns Name of user to add.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 11 attribute :user |
#vhost ⇒ String?
Returns 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_priv ⇒ String?
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.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb', line 37 attribute :write_priv |