Class: Ansible::Ruby::Modules::Consul_acl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/clustering/consul_acl.rb

Overview

Allows the addition, modification and deletion of ACL keys and associated rules in a consul cluster via the agent. For more details on using and configuring ACLs, see www.consul.io/docs/guides/acl.html.

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

#hostString?

Returns host of the consul agent defaults to localhost.

Returns:

  • (String, nil)

    host of the consul agent defaults to localhost



36
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 36

attribute :host

#mgmt_tokenString?

Returns a management token is required to manipulate the acl lists.

Returns:

  • (String, nil)

    a management token is required to manipulate the acl lists



12
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 12

attribute :mgmt_token

#nameString?

Returns the name that should be associated with the acl key, this is opaque to Consul.

Returns:

  • (String, nil)

    the name that should be associated with the acl key, this is opaque to Consul



24
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 24

attribute :name

#portInteger?

Returns the port on which the consul agent is running.

Returns:

  • (Integer, nil)

    the port on which the consul agent is running



40
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 40

attribute :port

#rulesArray<Hash>, ...

Returns a list of the rules that should be associated with a given token.

Returns:

  • (Array<Hash>, Hash, nil)

    a list of the rules that should be associated with a given token



32
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 32

attribute :rules

#schemeString?

Returns the protocol scheme on which the consul agent is running.

Returns:

  • (String, nil)

    the protocol scheme on which the consul agent is running



44
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 44

attribute :scheme

#state:present, ...

Returns whether the ACL pair should be present or absent.

Returns:

  • (:present, :absent, nil)

    whether the ACL pair should be present or absent



16
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 16

attribute :state

#tokenString?

Returns the token key indentifying an ACL rule set. If generated by consul this will be a UUID.

Returns:

  • (String, nil)

    the token key indentifying an ACL rule set. If generated by consul this will be a UUID



28
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 28

attribute :token

#token_type:client, ...

Returns the type of token that should be created, either management or client.

Returns:

  • (:client, :management, nil)

    the type of token that should be created, either management or client



20
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 20

attribute :token_type

#validate_certsBoolean?

Returns whether to verify the tls certificate of the consul agent.

Returns:

  • (Boolean, nil)

    whether to verify the tls certificate of the consul agent



48
# File 'lib/ansible/ruby/modules/generated/clustering/consul_acl.rb', line 48

attribute :validate_certs