correct little syntaxe

This commit is contained in:
vincent 2020-06-11 17:16:36 +02:00
parent fa165ba1e3
commit 1b3d1e6d29

View File

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