From b2304adc7aa77d43a7418e0d22f9b35a7875eb85 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 1 Sep 2021 13:52:22 +0200 Subject: [PATCH] Fix TravisCI configuration --- .travis.yml | 16 ++++++++++------ README.md | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4257b16..e1e9c4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,14 @@ env: global: - VAGRANT_VERSION='2.2.18' jobs: - - PLATFORM='docker-buster-default-master' ANSIBLE_VERSION='ansible>=2.11,<2.12' - - PLATFORM='docker-buster-upstream-master' ANSIBLE_VERSION='ansible>=2.11,<2.12' - - PLATFORM='docker-buster-default-galera-1' ANSIBLE_VERSION='ansible>=2.11,<2.12' - - PLATFORM='docker-buster-upstream-galera-1' ANSIBLE_VERSION='ansible>=2.11,<2.12' + - PLATFORM='docker-buster-default-master' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-buster-upstream-master' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-buster-default-galera-1' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-buster-upstream-galera-1' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-bullseye-default-master' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-bullseye-upstream-master' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-bullseye-default-galera-1' ANSIBLE_VERSION='>=2.11,<2.12' + - PLATFORM='docker-bullseye-upstream-galera-1' ANSIBLE_VERSION='>=2.11,<2.12' os: - linux @@ -25,12 +29,12 @@ before_install: - sudo apt-get install -y yamllint - sudo wget -nv https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb - sudo dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb + - vagrant plugin install vagrant-hostmanager install: - sudo pip install "ansible-core$ANSIBLE_VERSION" - sudo pip install ansible-lint - - ansible-galaxy collection install community.general - - ansible-galaxy install -p ./tests HanXHX.php + - ansible-galaxy collection install community.general community.mysql community.crypto script: - VAGRANT_DEFAULT_PROVIDER=docker vagrant up $PLATFORM diff --git a/README.md b/README.md index 9f4a9f9..7e1f360 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ Notes Requirements ------------ -Ansible 2.9+ +- Ansible >=2.11 +- Collections: community.general / community.mysql / community.crypto Role Variables --------------