@ -108,6 +108,8 @@ global_log_directory: "/var/log"
global_nfs_port: "2049" # for version 4
global_nfs_directory: "{{ global_webservers_directory }}/nfs"
global_nginx_service_name: "nginx.service"
global_pamd: "/etc/pam.d"
global_redis_configuration_directory: "/etc/redis"
@ -6,4 +6,4 @@ acme_certificate_prefix: "{{ acme_certificates_directory }}/{{ domain }}"
acme_certificate_location: "{{ acme_certificate_prefix }}.crt"
acme_key_location: "{{ acme_certificate_prefix }}.key"
reload_command: "systemctl reload nginx"
reload_command: "systemctl reload {{ global_nginx_service_name }}"
@ -3,11 +3,11 @@
- name: reload nginx
systemd:
enabled: yes
name: nginx
name: "{{ global_nginx_service_name }}"
state: reloaded
- name: restart nginx
state: restarted
@ -66,7 +66,7 @@
- name: Enable nginx service
- name: Configure nginx
template: