Install dns-lexicon on the system properly
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Luke Murphy 2020-03-29 14:33:48 +02:00
parent 42b1eeaa48
commit 4a7d6ba349
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -8,12 +8,18 @@
extensions: extensions:
- yml - yml
- name: Install Python system dependencies - name: Prepare Python system dependencies
become: true become: true
apt: apt:
name: python3-lexicon name: python3-pip
state: present state: present
- name: Install dns-lexicon[gandi] system wide
become: true
pip:
name: "dns-lexicon[gandi]==3.3.19"
executable: /usr/bin/pip3
- 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 }}"