create base path for dns plgin
This commit is contained in:
parent
13ce719f11
commit
b56931ce88
@ -34,6 +34,7 @@ certbot_command_arguments:
|
|||||||
# Setup manual auth for core-networks api
|
# Setup manual auth for core-networks api
|
||||||
certbot_core_networks_plugin_enabled: False
|
certbot_core_networks_plugin_enabled: False
|
||||||
certbot_core_networks_plugin_repo: https://git.rknet.org/xoxys/certbot_dns_corenetworks.git
|
certbot_core_networks_plugin_repo: https://git.rknet.org/xoxys/certbot_dns_corenetworks.git
|
||||||
|
certbot_core_networks_base_dir: {{ certbot_plugin_dir }}/certbot_dns_corenetworks
|
||||||
certbot_core_networks_plugin_version: master
|
certbot_core_networks_plugin_version: master
|
||||||
certbot_core_networks_api_host: https://beta.api.core-networks.de/
|
certbot_core_networks_api_host: https://beta.api.core-networks.de/
|
||||||
certbot_core_networks_api_user: myuser
|
certbot_core_networks_api_user: myuser
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
---
|
---
|
||||||
- name: Setup core-networks dns plugin
|
- name: Setup core-networks dns plugin
|
||||||
block:
|
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 }}'
|
- name: Clone repo to '{{ certbot_plugin_dir }}'
|
||||||
git:
|
git:
|
||||||
repo: "{{ certbot_core_networks_plugin_repo }}"
|
repo: "{{ certbot_core_networks_plugin_repo }}"
|
||||||
dest: "{{ certbot_plugin_dir }}"
|
dest: "{{ certbot_core_networks_base_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
|
||||||
|
Loading…
Reference in New Issue
Block a user