install xfs

This commit is contained in:
Charlie Mordant
2020-04-23 19:25:09 +02:00
parent 7d3e90f9e8
commit 325c2d6240
11 changed files with 124 additions and 88 deletions
+24 -9
View File
@@ -1,15 +1,30 @@
---
sudo: required
dist: bionic
language: python
services:
- docker
python:
- "3.8"
before_install:
- sudo apt-get -qq update
install:
- pip3 install -r requirements.txt
- ansible --version
- molecule --version
- |
sudo apt -y install bridge-utils dnsmasq-base ebtables libvirt-bin libvirt-dev qemu-kvm qemu-utils ruby-dev
- |
wget https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb
sudo apt -y install ./vagrant_2.2.7_x86_64.deb
sudo vagrant plugin install vagrant-libvirt
- |
sudo apt-get -y purge python3-openssl && sudo apt-get -y autoremove
sudo apt-get update && sudo apt-get install -y ca-certificates curl gcc iproute2 python3 python3-dev sudo
curl -skL https://bootstrap.pypa.io/get-pip.py | sudo -H python3
sudo pip3 install wheel
sudo pip3 install netaddr python-vagrant yamllint testinfra flake8
sudo pip3 install ansible ansible-lint
sudo pip3 install -I molecule molecule-vagrant
script:
- molecule lint
- |
sudo molecule test --scenario-name kvm
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/