Class: Ansible::Ruby::Modules::Ipa_hbacrule

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb

Overview

Add, modify or delete an IPA HBAC rule using IPA API.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#cnObject

Returns Canonical name.,Can not be changed as it is the unique identifier.

Returns:

  • (Object)

    Canonical name.,Can not be changed as it is the unique identifier.



12
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 12

attribute :cn

#descriptionString?

Returns Description.

Returns:

  • (String, nil)

    Description



16
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 16

attribute :description

#hostObject?

Returns List of host names to assign.,If an empty list is passed all hosts will be removed from the rule.,If option is omitted hosts will not be checked or changed.

Returns:

  • (Object, nil)

    List of host names to assign.,If an empty list is passed all hosts will be removed from the rule.,If option is omitted hosts will not be checked or changed.



20
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 20

attribute :host

#hostcategory:all?

Returns Host category.

Returns:

  • (:all, nil)

    Host category



23
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 23

attribute :hostcategory

#hostgroupArray<String>, ...

Returns List of hostgroup names to assign.,If an empty list is passed all hostgroups will be removed. from the rule,If option is omitted hostgroups will not be checked or changed.

Returns:

  • (Array<String>, String, nil)

    List of hostgroup names to assign.,If an empty list is passed all hostgroups will be removed. from the rule,If option is omitted hostgroups will not be checked or changed.



27
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 27

attribute :hostgroup

#serviceObject?

Returns List of service names to assign.,If an empty list is passed all services will be removed from the rule.,If option is omitted services will not be checked or changed.

Returns:

  • (Object, nil)

    List of service names to assign.,If an empty list is passed all services will be removed from the rule.,If option is omitted services will not be checked or changed.



31
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 31

attribute :service

#servicecategory:all?

Returns Service category.

Returns:

  • (:all, nil)

    Service category



34
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 34

attribute :servicecategory

#servicegroupObject?

Returns List of service group names to assign.,If an empty list is passed all assigned service groups will be removed from the rule.,If option is omitted service groups will not be checked or changed.

Returns:

  • (Object, nil)

    List of service group names to assign.,If an empty list is passed all assigned service groups will be removed from the rule.,If option is omitted service groups will not be checked or changed.



38
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 38

attribute :servicegroup

#sourcehostObject?

Returns List of source host names to assign.,If an empty list if passed all assigned source hosts will be removed from the rule.,If option is omitted source hosts will not be checked or changed.

Returns:

  • (Object, nil)

    List of source host names to assign.,If an empty list if passed all assigned source hosts will be removed from the rule.,If option is omitted source hosts will not be checked or changed.



41
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 41

attribute :sourcehost

#sourcehostcategory:all?

Returns Source host category.

Returns:

  • (:all, nil)

    Source host category



44
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 44

attribute :sourcehostcategory

#sourcehostgroupObject?

Returns List of source host group names to assign.,If an empty list if passed all assigned source host groups will be removed from the rule.,If option is omitted source host groups will not be checked or changed.

Returns:

  • (Object, nil)

    List of source host group names to assign.,If an empty list if passed all assigned source host groups will be removed from the rule.,If option is omitted source host groups will not be checked or changed.



48
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 48

attribute :sourcehostgroup

#state:present, ...

Returns State to ensure.

Returns:

  • (:present, :absent, :enabled, :disabled, nil)

    State to ensure



51
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 51

attribute :state

#userObject?

Returns List of user names to assign.,If an empty list if passed all assigned users will be removed from the rule.,If option is omitted users will not be checked or changed.

Returns:

  • (Object, nil)

    List of user names to assign.,If an empty list if passed all assigned users will be removed from the rule.,If option is omitted users will not be checked or changed.



55
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 55

attribute :user

#usercategory:all?

Returns User category.

Returns:

  • (:all, nil)

    User category



58
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 58

attribute :usercategory

#usergroupArray<String>, ...

Returns List of user group names to assign.,If an empty list if passed all assigned user groups will be removed from the rule.,If option is omitted user groups will not be checked or changed.

Returns:

  • (Array<String>, String, nil)

    List of user group names to assign.,If an empty list if passed all assigned user groups will be removed from the rule.,If option is omitted user groups will not be checked or changed.



62
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 62

attribute :usergroup