create config dir for plugin

This commit is contained in:
Robert Kaussow 2018-06-23 16:44:20 +02:00
parent 3809f3b746
commit 13ce719f11

View File

@ -7,9 +7,15 @@
dest: "{{ certbot_plugin_dir }}" dest: "{{ certbot_plugin_dir }}"
version: "{{ certbot_core_networks_plugin_version }}" version: "{{ certbot_core_networks_plugin_version }}"
- name: Create config directory
file:
path: "~/.certbot_dns_corenetworks"
state: directory
- name: Deploy plugin configuration - name: Deploy plugin configuration
template: template:
src: corenetworks/config.ini.j2 src: corenetworks/config.ini.j2
dest: "~/.certbot_dns_corenetworks/config.ini" dest: "~/.certbot_dns_corenetworks/config.ini"
mode: 0600
become: True become: True
become_user: "{{ certbot_user }}" become_user: "{{ certbot_user }}"