Use new style

This commit is contained in:
Luke Murphy 2020-03-31 13:01:44 +02:00
parent ff73beef10
commit 9ce17b0026
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -17,12 +17,9 @@
- name: Install dns-lexicon[gandi] system wide - name: Install dns-lexicon[gandi] system wide
become: true become: true
pip: pip:
name: "{{ item }}" name: ["cryptography==2.8", "dns-lexicon==3.3.19"]
executable: /usr/bin/pip3 executable: /usr/bin/pip3
state: present state: present
with_items:
- cryptography==2.8
- dns-lexicon==3.3.19
- name: "Create {{ domain }} DNS entry" - name: "Create {{ domain }} DNS entry"
gandi_dns: gandi_dns: