mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2026-09-07 16:08:20 +03:00
install xfs
This commit is contained in:
+24
-9
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user