Fixed Linting

This commit is contained in:
Tim Schilling
2024-11-20 11:20:45 +01:00
parent 34a7651d08
commit b49509f4d8
+2 -1
View File
@@ -2,7 +2,6 @@
- name: Configure webserver with nginx - name: Configure webserver with nginx
hosts: webservers hosts: webservers
become: true become: true
vars:
tasks: tasks:
- name: Ensure nginx is installed - name: Ensure nginx is installed
package: package:
@@ -13,6 +12,7 @@
copy: copy:
src: nginx.conf src: nginx.conf
dest: /etc/nginx/sites-available/default dest: /etc/nginx/sites-available/default
mode: "0640"
- name: Enable Configuration - name: Enable Configuration
file: file:
@@ -24,6 +24,7 @@
template: template:
src: index.html.j2 src: index.html.j2
dest: /usr/share/nginx/html/index.html dest: /usr/share/nginx/html/index.html
mode: "0640"
- name: Restart nginx - name: Restart nginx
service: service: