Enable archlinux, incl. tests

This commit is contained in:
Unknown 2018-05-08 01:15:32 +08:00
parent fe82c727c8
commit baf727f495
3 changed files with 16 additions and 2 deletions

11
Vagrantfile vendored
View file

@ -42,7 +42,14 @@ boxes = [
:box => "bento/debian-9",
:ip => '10.0.0.16',
:cpu => "50",
:ram => "512"
:ram => "256"
},
{
:name => "archlinux",
:box => "archlinux/archlinux",
:ip => '10.0.0.17',
:cpu => "50",
:ram => "256"
},
]
@ -50,6 +57,8 @@ role = File.basename(File.expand_path(File.dirname(__FILE__)))
Vagrant.configure("2") do |config|
boxes.each do |box|
# If archlinux gives an error with Linux 4.16 Virtualbox guest driver, disable synced folder
#config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.define box[:name] do |vms|
vms.vm.box = box[:box]
vms.vm.hostname = "#{role}-#{box[:name]}"

View file

@ -13,6 +13,9 @@ galaxy_info:
- trusty
- xenial
# - bionic
- name: ArchLinux
versions:
- any
tags:
- mail
- system

View file

@ -20,7 +20,9 @@
- sendmail*
tags:
- mail
when: msmtp_remove_mtas
when:
- msmtp_remove_mtas
- ansible_os_family == "Debian"
- name: Install msmtp and mailx on Debian.
apt: