Browse Source

Update molecule configuration to work with 3.0.

pull/195/head
Jeff Geerling 3 years ago
parent
commit
790e82457a
  1. 6
      .yamllint
  2. 19
      molecule/default/converge.yml

6
.yamllint

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

19
molecule/default/converge.yml

@ -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