Update to more recent Ansible roles
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
- name: Install packages
|
||||
apt: name="{{ item }}" state=latest
|
||||
package: name="{{ item }}" state=present
|
||||
with_items: "{{ packages }}"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
- name: Start and enable nginx service
|
||||
- name: Start and enable services
|
||||
service: name=nginx state=restarted enabled=yes
|
||||
|
||||
Reference in New Issue
Block a user