Skip to content

Commit

Permalink
Correcting some typo error + clean up debug comments :
Browse files Browse the repository at this point in the history
+ Changing min ansible version compatibility
+ Correcting some error (wellknow => wellknown)
- Removing debug comments
  • Loading branch information
DnR-iData committed Dec 1, 2017
1 parent 00f1aef commit d8d6115
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to
[Semantic Versioning](http://semver.org/).

## 1.1.1

### changed
- Correcting some typo error (wellknow => wellknown)

### Removed
- Debug comments

## 1.1.0

### Added
- http-01 (wellknow acme-challenge) support.
- http-01 (wellknown acme-challenge) support.
- SSL crt & key concatenation for HAProxy compatibility.
- Ansible Galaxy file structure (to be used with ansible-galaxy install git@...).

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ galaxy_info:
# - CC-BY
license: license (GPLv2, CC-BY, etc)

min_ansible_version: 1.2
min_ansible_version: 2.4

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- include: "dependencies.yml"

# Create the /.well-known/acme-challenge dir
- include: "wellknow.yml"
- include: "wellknown.yml"
vars:
lets_encrypt_resource_state: present
when:
Expand All @@ -14,7 +14,7 @@


# Remove the /.well-known/acme-challenge dir
- include: "wellknow.yml"
- include: "wellknown.yml"
vars:
lets_encrypt_resource_state: absent
when:
Expand Down
14 changes: 2 additions & 12 deletions tasks/providers/http-01/wellknown.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
---
# # acme_data.challenge_data =>
# # "DNS NAME": {
# # "dns-01": {
# # "resource": "_acme-challenge",
# # "resource_value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# # },
# # "http-01": {
# # "resource": ".well-known/acme-challenge/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
# # "resource_value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyy-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
# # }
# # },
## Creating & adding the well-known acme-challenge file with data

- name: Copy HTTP well-know ACME Challege data to file
- name: Copy HTTP well-known ACME Challege data to file
copy:
content: "{{ acme_data.challenge_data[lets_encrypt_resource_domain]['http-01']['resource_value'] }}"
dest: "{{ lets_encrypt_http_path }}/{{ acme_data.challenge_data[lets_encrypt_resource_domain]['http-01']['resource'] }}"
Expand Down
File renamed without changes.

0 comments on commit d8d6115

Please sign in to comment.