Class: Ansible::Ruby::Modules::Os_user_group

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user_group.rb

Overview

Add and remove users from groups

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

#groupObject

Returns Name or id for the group.

Returns:

  • (Object)

    Name or id for the group.



15
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user_group.rb', line 15

attribute :group

#state:present, ...

Returns Should the user be present or absent in the group.

Returns:

  • (:present, :absent, nil)

    Should the user be present or absent in the group



19
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user_group.rb', line 19

attribute :state

#userObject

Returns Name or id for the user.

Returns:

  • (Object)

    Name or id for the user



11
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user_group.rb', line 11

attribute :user