diff options
-rw-r--r-- | defaults/main.yml | 1 | ||||
-rw-r--r-- | tasks/main.yaml | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index a344f54..2a9a1c1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,4 +2,3 @@ certbot_auto_renew_user: root certbot_create_if_missing: true certbot_install_method: package -certbot_create_method: standalone diff --git a/tasks/main.yaml b/tasks/main.yaml index 6d4e69d..16c9fc9 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -37,3 +37,10 @@ - name: Create certificates import_role: name: geerlingguy.certbot + vars: + certbot_auto_renew_user: "{{certbot_auto_renew_user}}" + certbot_create_if_missing: "{{certbot_create_if_missing}}" + certbot_install_method: "{{certbot_install_method}}" + certbot_create_method: "{{certbot_create_method}}" + certbot_create_standalone_stop_services: "{{certbot_create_standalone_stop_services}}" + certbot_create_command: "{{certbot_create_command}}" |