This commit is contained in:
parent
83170bbe6b
commit
1d6435a4e5
1 changed files with 19 additions and 19 deletions
|
|
@ -13,21 +13,21 @@
|
||||||
name: httpd
|
name: httpd
|
||||||
vars:
|
vars:
|
||||||
httpd_cerbot: false
|
httpd_cerbot: false
|
||||||
# httpd_hostname:
|
# httpd_hostname:
|
||||||
notify: Restart httpd
|
notify: Restart httpd
|
||||||
when:
|
when:
|
||||||
- certbot_authtype == "http"
|
- certbot_authtype == "http"
|
||||||
- certbot_authservice == "httpd"
|
- certbot_authservice == "httpd"
|
||||||
|
|
||||||
#- name: install web service packages
|
# - name: install web service packages
|
||||||
# ansible.builtin.package:
|
# ansible.builtin.package:
|
||||||
# name: "{{ certbot_webpackages }}"
|
# name: "{{ certbot_webpackages }}"
|
||||||
# state: present
|
# state: present
|
||||||
# update_cache: true
|
# update_cache: true
|
||||||
# notify: Restart httpd
|
# notify: Restart httpd
|
||||||
# when:
|
# when:
|
||||||
# - certbot_authtype == "http"
|
# - certbot_authtype == "http"
|
||||||
# - certbot_authservice == "httpd"
|
# - certbot_authservice == "httpd"
|
||||||
|
|
||||||
- name: Make the necessary directory
|
- name: Make the necessary directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
@ -96,15 +96,15 @@
|
||||||
- certbot_authservice == "nginx"
|
- certbot_authservice == "nginx"
|
||||||
- need_reload_nginx|changed
|
- need_reload_nginx|changed
|
||||||
|
|
||||||
#- name: Open Firewalld
|
# - name: Open Firewalld
|
||||||
# ansible.posix.firewalld:
|
# ansible.posix.firewalld:
|
||||||
# service: http
|
# service: http
|
||||||
# permanent: true
|
# permanent: true
|
||||||
# state: enabled
|
# state: enabled
|
||||||
# immediate: true
|
# immediate: true
|
||||||
# when:
|
# when:
|
||||||
# - certbot_authtype == "http"
|
# - certbot_authtype == "http"
|
||||||
# - ansible_os_family == "RedHat"
|
# - ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: Installation des script pour le challenge DNS
|
- name: Installation des script pour le challenge DNS
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue