xoxys.certbot/tasks/plugins.yml

22 lines
615 B
YAML

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