xoxys.certbot/tasks/plugins.yml
Robert Kaussow 6a1f1e325e
Some checks failed
continuous-integration/drone/push Build is failing
enable molecule
2019-09-18 15:28:46 +02:00

25 lines
711 B
YAML

---
- name: Setup core-networks dns plugin
block:
- name: Create plugin directories
file:
path: "{{ item }}"
state: directory
loop:
- "{{ certbot_core_networks_base_dir }}"
- ~/.certbot_dns_corenetworks
- name: Clone repo to '{{ certbot_plugin_dir }}'
git:
repo: "{{ certbot_core_networks_plugin_repo }}"
dest: "{{ certbot_core_networks_base_dir }}"
version: "{{ certbot_core_networks_plugin_version }}"
- name: Deploy plugin configuration
template:
src: corenetworks/config.ini.j2
dest: "~/.certbot_dns_corenetworks/config.ini"
mode: 0600
become: True
become_user: "{{ certbot_user }}"