Amélioration de la partie Vagrant
This commit is contained in:
parent
b8d0a571a7
commit
d62f39576f
2 changed files with 16 additions and 54 deletions
22
test/Vagrantfile
vendored
22
test/Vagrantfile
vendored
|
@ -34,7 +34,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
node.vm.hostname = "bookworm.evolix.net"
|
||||
node.vm.box = "debian/bookworm64"
|
||||
|
||||
node.vm.provision "apt update", type: "shell", inline: "apt update"
|
||||
node.vm.provision "apt update", type: "shell", inline: "DEBIAN_FRONTEND=noninteractive apt-get --quiet update"
|
||||
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "bookworm"
|
||||
|
@ -42,7 +42,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# ansible.tags = "mysql"
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
|
@ -59,7 +59,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
node.vm.hostname = "bullseye.evolix.net"
|
||||
node.vm.box = "debian/bullseye64"
|
||||
|
||||
node.vm.provision "apt update", type: "shell", inline: "apt update"
|
||||
node.vm.provision "apt update", type: "shell", inline: "DEBIAN_FRONTEND=noninteractive apt-get --quiet update"
|
||||
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "bullseye"
|
||||
|
@ -67,7 +67,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# ansible.tags = "mysql"
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
|
@ -84,7 +84,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
node.vm.hostname = "buster"
|
||||
node.vm.box = "debian/buster64"
|
||||
|
||||
node.vm.provision "apt update", type: "shell", inline: "apt update"
|
||||
clean_backports_script = <<~SCRIPT
|
||||
sed -i '/backports/d' /etc/apt/sources.list
|
||||
DEBIAN_FRONTEND=noninteractive apt-get --quiet update
|
||||
SCRIPT
|
||||
node.vm.provision "backports", type: "shell", inline: clean_backports_script
|
||||
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "buster"
|
||||
|
@ -92,7 +96,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# ansible.tags = "mysql"
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
|
@ -107,7 +111,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
node.vm.box = "debian/stretch64"
|
||||
|
||||
node.vm.provision "elts", type: "shell", inline: elts_script
|
||||
node.vm.provision "apt update", type: "shell", inline: "apt update"
|
||||
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "stretch"
|
||||
|
@ -115,7 +118,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# ansible.tags = "mysql"
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
|
@ -137,7 +140,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
node.ssh.extra_args = old_ssh_options
|
||||
|
||||
node.vm.provision "elts", type: "shell", inline: elts_script
|
||||
node.vm.provision "apt update", type: "shell", inline: "apt update"
|
||||
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "jessie"
|
||||
|
@ -146,7 +148,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
ansible.raw_ssh_args = old_ssh_options
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
|
|
|
@ -65,6 +65,10 @@
|
|||
release: buster
|
||||
- name: php74
|
||||
release: bullseye
|
||||
- name: php82
|
||||
release: bookworm
|
||||
- name: php83
|
||||
release: bookworm
|
||||
# evolinux_apt_public_sources: False
|
||||
|
||||
# pre_tasks:
|
||||
|
@ -73,53 +77,9 @@
|
|||
# var: hostvars[inventory_hostname]
|
||||
|
||||
roles:
|
||||
- bullseye-detect
|
||||
# - aws-tuning
|
||||
# - apt
|
||||
- evolinux-base
|
||||
- evolinux-users
|
||||
# - { role: del-user, username: "gcolpart" }
|
||||
# - metricbeat
|
||||
# - { role: squid, squid_localproxy_enable: True }
|
||||
# - apache
|
||||
# - nginx
|
||||
# - mysql
|
||||
# - mysql-oracle
|
||||
# - percona
|
||||
# - postgresql
|
||||
- packweb-apache
|
||||
# - { role: packweb-apache, packweb_mysql_variant: "oracle" }
|
||||
# - { role: memcached, memcached_instance_name: "instance1" }
|
||||
# - { role: memcached, memcached_instance_name: "instance2", memcached_port: 11212 }
|
||||
# - { role: redis }
|
||||
# - { role: redis, redis_instance_name: "instance1", redis_port: 6380 }
|
||||
# - { role: redis, redis_instance_name: "instance2", redis_port: 6381 }
|
||||
# - evoacme
|
||||
# - etc-git
|
||||
# - kvm-host
|
||||
# - 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
|
||||
# - { role: webapps/evoadmin-mail }
|
||||
# - { role: webapps/roundcube }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue