-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #769 from IPvSean/certbot_fix
Certbot fix for RHEL8, fix provisoiner windows was failing, but @cloin tested the fix in parallel
- Loading branch information
Showing
6 changed files
with
75 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,11 @@ | ||
--- | ||
- name: perform DNS and SSL certs for ansible control node | ||
block: | ||
- name: dns for student webpage | ||
become: false | ||
route53: | ||
state: "{{ s3_state }}" | ||
zone: "{{workshop_dns_zone}}" | ||
record: "{{username}}.{{ec2_name_prefix|lower}}.{{workshop_dns_zone}}" | ||
type: A | ||
overwrite: true | ||
value: "{{ansible_host}}" | ||
delegate_to: localhost | ||
register: route53_status | ||
|
||
rescue: | ||
- debug: | ||
msg: 'DNS entries for control nodes have hit an issue in the aws_dns role, we will fail gracefully' | ||
|
||
- name: appends | ||
set_fact: | ||
dns_information: | | ||
- route53 module hit an error, DNS is not working, please use IP addresses | ||
run_once: true | ||
delegate_to: localhost | ||
delegate_facts: true | ||
|
||
- name: CERTBOT FOR TOWER | ||
include_tasks: "tower.yml" | ||
when: | ||
- towerinstall|bool | ||
- route53_status is not failed | ||
- name: dns for student webpage | ||
become: false | ||
route53: | ||
state: "{{ s3_state }}" | ||
zone: "{{workshop_dns_zone}}" | ||
record: "{{username}}.{{ec2_name_prefix|lower}}.{{workshop_dns_zone}}" | ||
type: A | ||
overwrite: true | ||
value: "{{ansible_host}}" | ||
delegate_to: localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters