create config dir for plugin
This commit is contained in:
parent
3809f3b746
commit
13ce719f11
@ -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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user