diff --git a/tasks/main.yml b/tasks/main.yml index 63d3ab4..74eb575 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -26,7 +26,6 @@ - include_tasks: setup-Archlinux.yml when: ansible_os_family == 'Archlinux' - # Vhost configuration. - import_tasks: vhosts.yml @@ -39,7 +38,7 @@ dest: "{{ nginx_conf_file_path }}" owner: root group: "{{ root_group }}" - mode: 0644 + mode: "0644" notify: - reload nginx @@ -49,11 +48,14 @@ dest: "{{ nginx_conf_path }}/realip.conf" owner: root group: "{{ root_group }}" - mode: 0644 + mode: "0644" notify: - reload nginx when: nginx_realIP_Proxy is defined - name: Ensure nginx is started and enabled to start at boot. - service: name=nginx state=started enabled=yes + service: + name: nginx + state: started + enabled: yes