Re-enable DNS entry tasks

This commit is contained in:
Luke Murphy 2020-04-08 18:27:24 +02:00
parent 0afce645e0
commit 9b906cff1a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -8,33 +8,32 @@
extensions: extensions:
- yml - yml
# Note(decentral1se): disable while DNS is flapping - name: Prepare Python system dependencies
# - name: Prepare Python system dependencies become: true
# become: true apt:
# apt: name: python3-pip
# name: python3-pip state: present
# state: present
# - name: Install dns-lexicon system wide - name: Install dns-lexicon system wide
# become: true become: true
# pip: pip:
# name: ["cryptography==2.8", "dns-lexicon==3.3.19"] name: ["cryptography==2.8", "dns-lexicon==3.3.19"]
# executable: /usr/bin/pip3 executable: /usr/bin/pip3
# state: present state: present
# - name: "Create {{ domain }} DNS entry" - name: "Create {{ domain }} DNS entry"
# gandi_dns: gandi_dns:
# gandi_rest_token: "{{ gandi_rest_token }}" gandi_rest_token: "{{ gandi_rest_token }}"
# domain: "{{ domain }}" domain: "{{ domain }}"
# ipv4: "{{ dokku_domain_ipv4 }}" ipv4: "{{ dokku_domain_ipv4 }}"
# state: present state: present
# - name: "Configure the {{ domain }} domain" - name: "Configure the {{ domain }} domain"
# dokku_domains: dokku_domains:
# app: autonomic.zone app: autonomic.zone
# domains: domains:
# - "{{ domain }}" - "{{ domain }}"
# state: present state: present
- name: Ensure default app configured domains go away - name: Ensure default app configured domains go away
dokku_domains: dokku_domains: