From 4dc696a5b98c7b47abbda51ba47ed42fea540cc9 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Sun, 2 May 2021 23:29:27 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20tests=20pour=20Debian=2011=20?= =?UTF-8?q?=C2=AB=20Bullseye=20=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Vagrantfile | 22 ++++++++++++++++++++++ test/vagrant.yml | 19 +++++++++++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/test/Vagrantfile b/test/Vagrantfile index 3c1d12c..95b742f 100644 --- a/test/Vagrantfile +++ b/test/Vagrantfile @@ -19,6 +19,28 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| libvirt.cpus = 1 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 config.vm.define :buster do |node| node.vm.hostname = "buster" diff --git a/test/vagrant.yml b/test/vagrant.yml index 8efa64a..a02f323 100644 --- a/test/vagrant.yml +++ b/test/vagrant.yml @@ -62,14 +62,23 @@ release: stretch - name: php73 release: buster + - name: php74 + release: bullseye + # evolinux_apt_public_sources: False # tasks: # - debug: # var: "ansible_lsb.codename" + # pre_tasks: + # - name: "Ansible | List all known variables and facts" + # debug: + # var: hostvars[inventory_hostname] + roles: + - bullseye-detect # - aws-tuning - - evolinux-base - - evolinux-users + # - evolinux-base + # - evolinux-users # - { role: del-user, username: "gcolpart" } # - metricbeat # - { role: squid, squid_localproxy_enable: True } @@ -90,17 +99,23 @@ # - mongodb # - mysql # - proftpd + # - haproxy + # - varnish # - supervisord + # - elasticsearch + # - kibana # - evoacme # - lxc # - { role: lxc-php, lxc_php_version: "php56" } # - { role: lxc-php, lxc_php_version: "php70" } # - { role: lxc-php, lxc_php_version: "php73" } + # - { role: lxc-php, lxc_php_version: "php74" } # - evocheck # - tomcat # - redis # - unbound # - php + # - ldap # - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True } # - apache # - php