correct little syntaxe
This commit is contained in:
parent
fa165ba1e3
commit
1b3d1e6d29
@ -27,7 +27,6 @@
|
|||||||
- include_tasks: setup-Archlinux.yml
|
- include_tasks: setup-Archlinux.yml
|
||||||
when: ansible_os_family == 'Archlinux'
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
|
|
||||||
# Vhost configuration.
|
# Vhost configuration.
|
||||||
- import_tasks: vhosts.yml
|
- import_tasks: vhosts.yml
|
||||||
|
|
||||||
@ -39,7 +38,7 @@
|
|||||||
dest: "{{ nginx_conf_file_path }}"
|
dest: "{{ nginx_conf_file_path }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ root_group }}"
|
group: "{{ root_group }}"
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
notify:
|
notify:
|
||||||
- reload nginx
|
- reload nginx
|
||||||
|
|
||||||
@ -49,11 +48,14 @@
|
|||||||
dest: "{{ nginx_conf_path }}/realip.conf"
|
dest: "{{ nginx_conf_path }}/realip.conf"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ root_group }}"
|
group: "{{ root_group }}"
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
notify:
|
notify:
|
||||||
- reload nginx
|
- reload nginx
|
||||||
when: nginx_realIP_Proxy is defined
|
when: nginx_realIP_Proxy is defined
|
||||||
|
|
||||||
- name: Ensure nginx is started and enabled to start at boot.
|
- 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