style: make ansible-lint happier
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
---
|
||||
|
||||
- name: symlink vhosts
|
||||
file:
|
||||
- name: Symlink vhosts
|
||||
ansible.builtin.file:
|
||||
src: "/etc/nginx/sites-available/{{ item }}.conf"
|
||||
dest: "/etc/nginx/sites-enabled/{{ item }}.conf"
|
||||
force: true
|
||||
follow: false
|
||||
state: link
|
||||
notify:
|
||||
- restart nginx
|
||||
- Restart nginx
|
||||
loop: "{{ web_hostname }}"
|
||||
|
||||
- name: install vhosts
|
||||
template:
|
||||
- name: Install vhosts
|
||||
ansible.builtin.template:
|
||||
src: "vhosts/{{ item }}.conf.j2"
|
||||
dest: "/etc/nginx/sites-available/{{ item }}.conf"
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart nginx
|
||||
- Restart nginx
|
||||
loop: "{{ web_hostname }}"
|
||||
|
Reference in New Issue
Block a user