diff --git a/tasks/main.yml b/tasks/main.yml index b663da1..0f6a3eb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,21 +13,21 @@ name: httpd vars: httpd_cerbot: false -# httpd_hostname: +# httpd_hostname: notify: Restart httpd when: - certbot_authtype == "http" - certbot_authservice == "httpd" -#- name: install web service packages -# ansible.builtin.package: -# name: "{{ certbot_webpackages }}" -# state: present -# update_cache: true -# notify: Restart httpd -# when: -# - certbot_authtype == "http" -# - certbot_authservice == "httpd" +# - name: install web service packages +# ansible.builtin.package: +# name: "{{ certbot_webpackages }}" +# state: present +# update_cache: true +# notify: Restart httpd +# when: +# - certbot_authtype == "http" +# - certbot_authservice == "httpd" - name: Make the necessary directory ansible.builtin.file: @@ -96,15 +96,15 @@ - certbot_authservice == "nginx" - need_reload_nginx|changed -#- name: Open Firewalld -# ansible.posix.firewalld: -# service: http -# permanent: true -# state: enabled -# immediate: true -# when: -# - certbot_authtype == "http" -# - ansible_os_family == "RedHat" +# - name: Open Firewalld +# ansible.posix.firewalld: +# service: http +# permanent: true +# state: enabled +# immediate: true +# when: +# - certbot_authtype == "http" +# - ansible_os_family == "RedHat" - name: Installation des script pour le challenge DNS ansible.builtin.copy: