mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-12-16 09:41:03 +01:00
Compare commits
4 Commits
b6c53c3a6e
...
4b2715ccdb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b2715ccdb | ||
|
|
1011113914 | ||
|
|
95afe409cc | ||
|
|
f8e02e1e83 |
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||
|
||||
- name: Install test dependencies.
|
||||
run: pip3 install yamllint
|
||||
@ -50,6 +50,16 @@ jobs:
|
||||
- distro: debian12
|
||||
playbook: converge.yml
|
||||
experimental: false
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
- distro: debian10
|
||||
playbook: converge.yml
|
||||
experimental: false
|
||||
# Source install started failing recently.
|
||||
# - distro: centos7
|
||||
# playbook: playbook-source-install.yml
|
||||
# experimental: false
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
- distro: rockylinux9
|
||||
playbook: playbook-snap-install.yml
|
||||
@ -64,7 +74,7 @@ jobs:
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||
|
||||
- name: Install test dependencies.
|
||||
run: pip3 install ansible molecule molecule-plugins[docker] docker
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.13' # Can't go to 3.14+ until Ansible 13.x
|
||||
|
||||
- name: Install Ansible.
|
||||
run: pip3 install ansible-core
|
||||
|
||||
@ -3,11 +3,11 @@
|
||||
|
||||
{% for item in certbot_create_standalone_stop_services %}
|
||||
echo "starting service {{ item }}"
|
||||
{% if ansible_service_mgr == 'systemd' %}
|
||||
{% if ansible_facts.service_mgr == 'systemd' %}
|
||||
systemctl start {{ item }}
|
||||
{% elif ansible_service_mgr == 'upstart' %}
|
||||
{% elif ansible_facts.service_mgr == 'upstart' %}
|
||||
initctl start {{ item }}
|
||||
{% elif ansible_service_mgr == 'openrc' %}
|
||||
{% elif ansible_facts.service_mgr == 'openrc' %}
|
||||
rc-service {{ item }} start
|
||||
{% else %}
|
||||
service {{ item }} start
|
||||
|
||||
@ -3,11 +3,11 @@
|
||||
|
||||
{% for item in certbot_create_standalone_stop_services %}
|
||||
echo "stopping service {{ item }}"
|
||||
{% if ansible_service_mgr == 'systemd' %}
|
||||
{% if ansible_facts.service_mgr == 'systemd' %}
|
||||
systemctl stop {{ item }}
|
||||
{% elif ansible_service_mgr == 'upstart' %}
|
||||
{% elif ansible_facts.service_mgr == 'upstart' %}
|
||||
initctl stop {{ item }}
|
||||
{% elif ansible_service_mgr == 'openrc' %}
|
||||
{% elif ansible_facts.service_mgr == 'openrc' %}
|
||||
rc-service {{ item }} stop
|
||||
{% else %}
|
||||
service {{ item }} stop
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user