Ajout de tests pour Debian 11 « Bullseye »

This commit is contained in:
Jérémy Lecour 2021-05-02 23:29:27 +02:00 committed by Jérémy Lecour
parent fe50ef6c32
commit 4dc696a5b9
2 changed files with 39 additions and 2 deletions

22
test/Vagrantfile vendored
View file

@ -19,6 +19,28 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
libvirt.cpus = 1 libvirt.cpus = 1
end end
# Bullseye
config.vm.define :bullseye do |node|
node.vm.hostname = "bullseye.evolix.net"
node.vm.box = "debian/bullseye64"
node.vm.provision :ansible do |ansible|
ansible.limit = "bullseye"
ansible.playbook = "vagrant.yml"
# ansible.tags = "mysql"
ansible.raw_arguments = [
"-b",
"--ask-vault-pass",
# "--diff",
# "--step",
# "--syntax",
# "-vvv",
]
ansible.extra_vars = {
ansible_python_interpreter: "/usr/bin/python3"
}
end
end
# Buster # Buster
config.vm.define :buster do |node| config.vm.define :buster do |node|
node.vm.hostname = "buster" node.vm.hostname = "buster"

View file

@ -62,14 +62,23 @@
release: stretch release: stretch
- name: php73 - name: php73
release: buster release: buster
- name: php74
release: bullseye
# evolinux_apt_public_sources: False
# tasks: # tasks:
# - debug: # - debug:
# var: "ansible_lsb.codename" # var: "ansible_lsb.codename"
# pre_tasks:
# - name: "Ansible | List all known variables and facts"
# debug:
# var: hostvars[inventory_hostname]
roles: roles:
- bullseye-detect
# - aws-tuning # - aws-tuning
- evolinux-base # - evolinux-base
- evolinux-users # - evolinux-users
# - { role: del-user, username: "gcolpart" } # - { role: del-user, username: "gcolpart" }
# - metricbeat # - metricbeat
# - { role: squid, squid_localproxy_enable: True } # - { role: squid, squid_localproxy_enable: True }
@ -90,17 +99,23 @@
# - mongodb # - mongodb
# - mysql # - mysql
# - proftpd # - proftpd
# - haproxy
# - varnish
# - supervisord # - supervisord
# - elasticsearch
# - kibana
# - evoacme # - evoacme
# - lxc # - lxc
# - { role: lxc-php, lxc_php_version: "php56" } # - { role: lxc-php, lxc_php_version: "php56" }
# - { role: lxc-php, lxc_php_version: "php70" } # - { role: lxc-php, lxc_php_version: "php70" }
# - { role: lxc-php, lxc_php_version: "php73" } # - { role: lxc-php, lxc_php_version: "php73" }
# - { role: lxc-php, lxc_php_version: "php74" }
# - evocheck # - evocheck
# - tomcat # - tomcat
# - redis # - redis
# - unbound # - unbound
# - php # - php
# - ldap
# - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True } # - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True }
# - apache # - apache
# - php # - php