Update to more recent Ansible roles

This commit is contained in:
2020-11-25 11:38:20 +00:00
parent 96182bb06a
commit 59d482cad7
47 changed files with 2970 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
---
- name: Copy nginx configuration file
- name: Copy nginx.cong configuration
template: src=files/nginx/nginx.conf dest=/etc/nginx/nginx.conf
- name: Copy index.html file

View File

@@ -1,4 +1,4 @@
---
- name: Install packages
apt: name="{{ item }}" state=latest
package: name="{{ item }}" state=present
with_items: "{{ packages }}"

View File

@@ -1,3 +1,3 @@
---
- name: Start and enable nginx service
- name: Start and enable services
service: name=nginx state=restarted enabled=yes