nginx/molecule/default/playbook.yml

20 lines
373 B
YAML
Raw Normal View History

2019-04-14 13:51:48 +00:00
---
- name: Converge
hosts: all
vars:
nginx_use_ppa: true
nginx_remove_default_vhost: true
nginx_vhosts:
- server_name: "test.dev"
root: "/var/www/test"
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
roles:
2021-04-19 08:55:54 +00:00
- role: nginx