mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2024-11-16 10:35:33 +01:00
21 lines
396 B
YAML
21 lines
396 B
YAML
---
|
|
- 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=86400
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Install dependencies.
|
|
package: name=curl
|
|
|
|
roles:
|
|
- role_under_test
|