fix multiline commands

This commit is contained in:
Robert Kaussow 2018-06-26 21:11:52 +02:00
parent f05a874efb
commit 678f56b732
3 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
- name: Initialise certbot
block:
- name: Initial run of certbot
shell: |
shell: >
certbot
--config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }}

View File

@ -34,11 +34,11 @@
hour: 3
user: "{{ certbot_user }}"
job: >
"certbot
certbot
--config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }}
--logs-dir {{ certbot_log_dir }}
{{ certbot_command_arguments | join(' ') }}"
{{ certbot_command_arguments | join(' ') }}
cron_file: "{{ certbot_cronfile | default(omit) }}"
when: certbot_scheduler_enabled
become: True

View File

@ -1,4 +1,7 @@
---
- include_tasks: install.yml
- include_tasks: plugins.yml
when: certbot_core_networks_plugin_enabled
- include_tasks: init.yml