mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-25 01:05:36 +02:00
Compare commits
4
Commits
5.4.0
...
f8e02e1e83
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8e02e1e83 | ||
|
|
d35de757e0 | ||
|
|
ef85f3e63d | ||
|
|
3b3cc546d1 |
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Set up Python 3.
|
- name: Set up Python 3.
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||||
|
|
||||||
- name: Install test dependencies.
|
- name: Install test dependencies.
|
||||||
run: pip3 install yamllint
|
run: pip3 install yamllint
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
- name: Set up Python 3.
|
- name: Set up Python 3.
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||||
|
|
||||||
- name: Install test dependencies.
|
- name: Install test dependencies.
|
||||||
run: pip3 install ansible molecule molecule-plugins[docker] docker
|
run: pip3 install ansible molecule molecule-plugins[docker] docker
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Set up Python 3.
|
- name: Set up Python 3.
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||||
|
|
||||||
- name: Install Ansible.
|
- name: Install Ansible.
|
||||||
run: pip3 install ansible-core
|
run: pip3 install ansible-core
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
when:
|
when:
|
||||||
- certbot_create_standalone_stop_services is defined
|
- certbot_create_standalone_stop_services is defined
|
||||||
- certbot_create_standalone_stop_services
|
- certbot_create_standalone_stop_services is truthy
|
||||||
|
|
||||||
- name: Create post hook to start services.
|
- name: Create post hook to start services.
|
||||||
template:
|
template:
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
when:
|
when:
|
||||||
- certbot_create_standalone_stop_services is defined
|
- certbot_create_standalone_stop_services is defined
|
||||||
- certbot_create_standalone_stop_services
|
- certbot_create_standalone_stop_services is truthy
|
||||||
|
|
||||||
- name: Check if domains have changed
|
- name: Check if domains have changed
|
||||||
block:
|
block:
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Install Certbot.
|
- name: Install Certbot.
|
||||||
package: "name={{ certbot_package }} state=present"
|
package:
|
||||||
|
name: "{{ certbot_package }}"
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Set Certbot script variable.
|
- name: Set Certbot script variable.
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user