correct little syntaxe
This commit is contained in:
parent
fa165ba1e3
commit
1b3d1e6d29
@ -27,7 +27,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user