xoxys.certbot/tasks/plugins.yml
Robert Kaussow 80eca4b63b
All checks were successful
continuous-integration/drone/push Build is passing
fix indentaions
2019-01-12 14:35:40 +01:00

25 lines
717 B
YAML

---
- name: Setup core-networks dns plugin
block:
- name: Create plugin directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ 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 }}"