Class: Ansible::Ruby::Modules::Openssl_dhparam

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/crypto/openssl_dhparam.rb

Overview

This module allows one to (re)generate OpenSSL DH-params. This module uses file common arguments to specify generated file permissions.

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

#forceSymbol?

Returns Should the parameters be regenerated even it it already exists.

Returns:

  • (Symbol, nil)

    Should the parameters be regenerated even it it already exists



20
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_dhparam.rb', line 20

attribute :force

#pathString

Returns Name of the file in which the generated parameters will be saved.

Returns:

  • (String)

    Name of the file in which the generated parameters will be saved.



24
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_dhparam.rb', line 24

attribute :path

#sizeInteger?

Returns Size (in bits) of the generated DH-params.

Returns:

  • (Integer, nil)

    Size (in bits) of the generated DH-params



16
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_dhparam.rb', line 16

attribute :size

#state:present, ...

Returns Whether the parameters should exist or not, taking action if the state is different from what is stated.

Returns:

  • (:present, :absent, nil)

    Whether the parameters should exist or not, taking action if the state is different from what is stated.



12
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_dhparam.rb', line 12

attribute :state