diff --git a/tasks/configure.yml b/tasks/configure.yml index ed5a50c..3ff76a6 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,5 +1,5 @@ --- -- name: 'nginx | push configuration' +- name: 'nginx | push configuration' copy: src: '{{ item }}' dest: /etc/nginx/conf.d/ @@ -13,7 +13,7 @@ - nginx - nginx_configure -- name: 'nginx | push custom configuration' +- name: 'nginx | push custom configuration' copy: src: '{{ item }}' dest: /etc/nginx/conf.d/custom/ diff --git a/tasks/install.yml b/tasks/install.yml index fa068bf..4e2f428 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,5 +1,5 @@ --- -- name: "nginx | apt update cache" +- name: "nginx | apt update cache" apt: update_cache: yes cache_valid_time: 86400 #One day diff --git a/tasks/main.yml b/tasks/main.yml index fa55974..c3d6d94 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,5 +8,5 @@ - name: "nginx | status page" include_tasks: status.yml -- name: "nginx | configure vhost" +- name: "nginx | configure vhost" include_tasks: vhost.yml diff --git a/tasks/status.yml b/tasks/status.yml index ef8b405..90cb07e 100644 --- a/tasks/status.yml +++ b/tasks/status.yml @@ -1,5 +1,5 @@ --- -- name: "nginx | copy status vhost" +- name: "nginx | copy status vhost" copy: src: "status.conf" dest: "/etc/nginx/sites-available/00-status.conf" diff --git a/tasks/vhost.yml b/tasks/vhost.yml index 2572ae6..0aa9ddf 100644 --- a/tasks/vhost.yml +++ b/tasks/vhost.yml @@ -1,6 +1,6 @@ --- -- name: 'nginx | configure vhosts' +- name: 'nginx | configure vhosts' template: src: "{{ item.value.template | default('vhost.conf.j2') }}" dest: "/etc/nginx/sites-available/{{ item.key }}.conf"