From 1b3d1e6d29a7439a0cb9b1c93d80be79defc7cc6 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 11 Jun 2020 17:16:36 +0200 Subject: [PATCH] correct little syntaxe --- tasks/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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