add missing epel dependency
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d4f2d7693e
commit
998c2ff4dc
@ -1,4 +1,6 @@
|
||||
---
|
||||
certbot_packages_extra: []
|
||||
|
||||
certbot_initial_run_enabled: False
|
||||
certbot_work_dir: /var/lib/letsencrypt
|
||||
certbot_config_dir: /etc/letsencrypt
|
||||
|
@ -2,7 +2,7 @@
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
python3_packages_extra:
|
||||
certbot_packages_extra:
|
||||
- epel-release
|
||||
|
||||
roles:
|
||||
|
@ -1,18 +1,21 @@
|
||||
---
|
||||
- block:
|
||||
- name: Install certbot
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ certbot_packages_extra + __certbot_packages }}"
|
||||
|
||||
- name: Create certbot user '{{ certbot_user }}'
|
||||
user:
|
||||
name: "{{ certbot_user }}"
|
||||
become: True
|
||||
become_user: root
|
||||
when: not certbot_user == 'root'
|
||||
become: True
|
||||
become_user: root
|
||||
|
||||
- name: Deploy certbot
|
||||
block:
|
||||
- name: Install certbot
|
||||
package:
|
||||
name: certbot
|
||||
state: present
|
||||
|
||||
- block:
|
||||
- name: Create certbot environment
|
||||
file:
|
||||
path: "{{ item.name }}"
|
||||
|
3
vars/main.yml
Normal file
3
vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
__certbot_packages:
|
||||
- certbot
|
Loading…
Reference in New Issue
Block a user