mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-12-16 17:51:02 +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.
|
- 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
|
||||||
@ -50,6 +50,16 @@ jobs:
|
|||||||
- distro: debian12
|
- distro: debian12
|
||||||
playbook: converge.yml
|
playbook: converge.yml
|
||||||
experimental: false
|
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
|
- distro: rockylinux9
|
||||||
playbook: playbook-snap-install.yml
|
playbook: playbook-snap-install.yml
|
||||||
@ -64,7 +74,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
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
|||||||
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
{% for item in certbot_create_standalone_stop_services %}
|
{% for item in certbot_create_standalone_stop_services %}
|
||||||
echo "starting service {{ item }}"
|
echo "starting service {{ item }}"
|
||||||
{% if ansible_service_mgr == 'systemd' %}
|
{% if ansible_facts.service_mgr == 'systemd' %}
|
||||||
systemctl start {{ item }}
|
systemctl start {{ item }}
|
||||||
{% elif ansible_service_mgr == 'upstart' %}
|
{% elif ansible_facts.service_mgr == 'upstart' %}
|
||||||
initctl start {{ item }}
|
initctl start {{ item }}
|
||||||
{% elif ansible_service_mgr == 'openrc' %}
|
{% elif ansible_facts.service_mgr == 'openrc' %}
|
||||||
rc-service {{ item }} start
|
rc-service {{ item }} start
|
||||||
{% else %}
|
{% else %}
|
||||||
service {{ item }} start
|
service {{ item }} start
|
||||||
|
|||||||
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
{% for item in certbot_create_standalone_stop_services %}
|
{% for item in certbot_create_standalone_stop_services %}
|
||||||
echo "stopping service {{ item }}"
|
echo "stopping service {{ item }}"
|
||||||
{% if ansible_service_mgr == 'systemd' %}
|
{% if ansible_facts.service_mgr == 'systemd' %}
|
||||||
systemctl stop {{ item }}
|
systemctl stop {{ item }}
|
||||||
{% elif ansible_service_mgr == 'upstart' %}
|
{% elif ansible_facts.service_mgr == 'upstart' %}
|
||||||
initctl stop {{ item }}
|
initctl stop {{ item }}
|
||||||
{% elif ansible_service_mgr == 'openrc' %}
|
{% elif ansible_facts.service_mgr == 'openrc' %}
|
||||||
rc-service {{ item }} stop
|
rc-service {{ item }} stop
|
||||||
{% else %}
|
{% else %}
|
||||||
service {{ item }} stop
|
service {{ item }} stop
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user