Update molecule configuration to work with 3.0.

This commit is contained in:
Jeff Geerling 2020-02-20 14:28:57 -06:00
parent 762500858b
commit 790e82457a
2 changed files with 25 additions and 0 deletions

6
.yamllint Normal file
View File

@ -0,0 +1,6 @@
---
extends: default
rules:
line-length:
max: 120
level: warning

View File

@ -0,0 +1,19 @@
---
- 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:
- role: geerlingguy.nginx