Class: Ansible::Ruby::Modules::Rundeck_acl_policy

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb

Overview

Create, update and remove Rundeck ACL policies through HTTP 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

#api_versionInteger?

Returns Sets the API version used by module.,API version must be at least 14.

Returns:

  • (Integer, nil)

    Sets the API version used by module.,API version must be at least 14.



24
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 24

attribute :api_version

#nameString

Returns Sets the project name.

Returns:

  • (String)

    Sets the project name.



16
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 16

attribute :name

#policyHash?

Returns Sets the ACL policy content.,ACL policy content is a YAML object as described in rundeck.org/docs/man5/aclpolicy.html.,It can be a YAML string or a pure Ansible inventory YAML object.

Returns:

  • (Hash, nil)

    Sets the ACL policy content.,ACL policy content is a YAML object as described in rundeck.org/docs/man5/aclpolicy.html.,It can be a YAML string or a pure Ansible inventory YAML object.



36
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 36

attribute :policy

#projectString?

Returns Sets the project which receive the ACL policy.,If unset, it’s a system ACL policy.

Returns:

  • (String, nil)

    Sets the project which receive the ACL policy.,If unset, it’s a system ACL policy.



32
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 32

attribute :project

#state:present, ...

Returns Create or remove Rundeck project.

Returns:

  • (:present, :absent, nil)

    Create or remove Rundeck project.



12
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 12

attribute :state

#tokenString

Returns Sets the token to authenticate against Rundeck API.

Returns:

  • (String)

    Sets the token to authenticate against Rundeck API.



28
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 28

attribute :token

#urlString

Returns Sets the rundeck instance URL.

Returns:

  • (String)

    Sets the rundeck instance URL.



20
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/rundeck_acl_policy.rb', line 20

attribute :url