Class: Ansible::Ruby::Modules::Acme_certificate

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb,
lib/ansible/ruby/modules/generated/crypto/acme/acme_certificate.rb

Overview

Create and renew SSL/TLS certificates with a CA supporting the L(ACME protocol,tools.ietf.org/html/draft-ietf-acme-acme-14), such as L(Let’s Encrypt,letsencrypt.org/). The current implementation supports the C(http-01), C(dns-01) and C(tls-alpn-01) challenges. To use this module, it has to be executed twice. Either as two different tasks in the same run or during two runs. Note that the output of the first run needs to be recorded and passed to the second run as the module argument C(data). Between these two tasks you have to fulfill the required steps for the chosen challenge by whatever means necessary. For C(http-01) that means creating the necessary challenge file on the destination webserver. For C(dns-01) the necessary dns record has to be created. For C(tls-alpn-01) the necessary certificate has to be created and served. It is I(not) the responsibility of this module to perform these steps. For details on how to fulfill these challenges, you might have to read through L(the main ACME specification,tools.ietf.org/html/draft-ietf-acme-acme-14#section-8) and the L(TLS-ALPN-01 specification,tools.ietf.org/html/draft-ietf-acme-tls-alpn-05#section-3). Also, consider the examples provided for this module.

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

#account_emailString?



15
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 15

attribute :account_email

#agreementObject?



19
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 19

attribute :agreement

#chain_destString?



50
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 50

attribute :chain_dest

#challenge:"http-01", ...



30
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 30

attribute :challenge

#csrString



34
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 34

attribute :csr

#dataString?



38
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 38

attribute :data

#deactivate_authzs:yes, ...



58
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 58

attribute :deactivate_authzs

#destString?



42
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 42

attribute :dest

#force:yes, ...



62
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 62

attribute :force

#fullchain_destString?



46
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 46

attribute :fullchain_dest

#modify_account:yes, ...



26
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 26

attribute :modify_account

#remaining_daysInteger?



54
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 54

attribute :remaining_days

#terms_agreed:yes, ...



22
# File 'lib/ansible/ruby/modules/generated/crypto/acme/letsencrypt.rb', line 22

attribute :terms_agreed