Speed up Ansible tests
Move Molecule Vagrant tests over to QEmu runners on Linux boxes "Dog-food" the Vagrant VMs Accelerate linting of Ansible code as well
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
driver:
|
||||
name: vagrant
|
||||
provider:
|
||||
name: libvirt
|
||||
platforms:
|
||||
- name: test-ubuntu16-init
|
||||
image: ubuntu:16.04
|
||||
box: generic/ubuntu1604
|
||||
@@ -1,11 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Read init file
|
||||
ansible.builtin.slurp:
|
||||
path: /etc/default/console-setup
|
||||
register: __slurped
|
||||
|
||||
- name: Validate desired string is present
|
||||
assert:
|
||||
that: >-
|
||||
'ACTIVE_CONSOLES="/dev/tty1"' in ( __slurped["content"] | b64decode )
|
||||
@@ -4,5 +4,6 @@ driver:
|
||||
name: libvirt
|
||||
platforms:
|
||||
- name: test-ubuntu18-init
|
||||
image: ubuntu:18.04
|
||||
box: generic/ubuntu1804
|
||||
box: boxen/ubuntu-18.04-x86_64
|
||||
provider_options:
|
||||
driver: qemu
|
||||
|
||||
Reference in New Issue
Block a user