Fix lint errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-08-16 16:14:40 +02:00
parent 83170bbe6b
commit 1d6435a4e5
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -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: