You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
440 B

- hosts: ec2
vars:
user: ubuntu
group: ubuntu
tasks:
- apt: update_cache=yes
sudo: true
- apt: name={{ item }} state=present
sudo: true
with_items:
- nginx
- git
- file: path=/etc/nginx/sites-enabled/default state=absent
sudo: true
notify: reload nginx
- include: tiddlywiki/tasks.yml
handlers:
- name: reload nginx
service: name=nginx state=reloaded