xoxys.certbot/vars/main.yml
Robert Kaussow 14e09868e5
All checks were successful
continuous-integration/drone/push Build is passing
add absolut path for certbot
2020-04-21 00:10:25 +02:00

11 lines
350 B
YAML

---
__certbot_packages:
- certbot
__certbot_environment:
- { name: "{{ certbot_work_dir }}", mode: "0755" }
- { name: "{{ certbot_config_dir }}", mode: "0755" }
- { name: "{{ certbot_log_dir }}", mode: "0700" }
__certbot_bin: "{{ '/root/.local/bin/certbot' if certbot_user == 'root' else '/home/' + certbot_user + '/.local/bin/certbot' }}"