Class: Ansible::Ruby::Modules::Ipa_role
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ipa_role
- Defined in:
- lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb
Overview
Add, modify and delete a role within FreeIPA server using FreeIPA API
Instance Method Summary collapse
-
#cn ⇒ Object
Role name.,Can not be changed as it is the unique identifier.
-
#description ⇒ String?
A description of this role-group.
-
#group ⇒ Array<String>, ...
List of group names assign to this role.,If an empty list is passed all assigned groups will be unassigned from the role.,If option is omitted groups will not be checked or changed.,If option is passed all assigned groups that are not passed will be unassigned from the role.
-
#host ⇒ Array<String>, ...
List of host names to assign.,If an empty list is passed all assigned hosts will be unassigned from the role.,If option is omitted hosts will not be checked or changed.,If option is passed all assigned hosts that are not passed will be unassigned from the role.
-
#hostgroup ⇒ Array<String>, ...
List of host group names to assign.,If an empty list is passed all assigned host groups will be removed from the role.,If option is omitted host groups will not be checked or changed.,If option is passed all assigned hostgroups that are not passed will be unassigned from the role.
-
#privilege ⇒ Array<String>, ...
List of privileges granted to the role.,If an empty list is passed all assigned privileges will be removed.,If option is omitted privileges will not be checked or changed.,If option is passed all assigned privileges that are not passed will be removed.
-
#service ⇒ Array<String>, ...
List of service names to assign.,If an empty list is passed all assigned services will be removed from the role.,If option is omitted services will not be checked or changed.,If option is passed all assigned services that are not passed will be removed from the role.
-
#state ⇒ :present, ...
State to ensure.
-
#user ⇒ Array<String>, ...
List of user names to assign.,If an empty list is passed all assigned users will be removed from the role.,If option is omitted users will not be checked or changed.
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
#cn ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 12 attribute :cn |
#description ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 16 attribute :description |
#group ⇒ Array<String>, ...
20 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 20 attribute :group |
#host ⇒ Array<String>, ...
24 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 24 attribute :host |
#hostgroup ⇒ Array<String>, ...
28 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 28 attribute :hostgroup |
#privilege ⇒ Array<String>, ...
32 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 32 attribute :privilege |
#service ⇒ Array<String>, ...
36 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 36 attribute :service |
#state ⇒ :present, ...
40 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 40 attribute :state |
#user ⇒ Array<String>, ...
44 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_role.rb', line 44 attribute :user |