mise à niveau des tests Ansible
This commit is contained in:
parent
4dc696a5b9
commit
775b8d1362
21
test/Vagrantfile
vendored
21
test/Vagrantfile
vendored
|
@ -15,7 +15,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# end
|
# end
|
||||||
config.vm.provider :libvirt do |libvirt|
|
config.vm.provider :libvirt do |libvirt|
|
||||||
# libvirt.storage :file, :size => '10G', :device => 'vdb'
|
# libvirt.storage :file, :size => '10G', :device => 'vdb'
|
||||||
libvirt.memory = 512
|
libvirt.memory = 1024
|
||||||
libvirt.cpus = 1
|
libvirt.cpus = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -98,6 +98,25 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Squeeze
|
||||||
|
config.vm.define :squeeze do |node|
|
||||||
|
node.vm.hostname = "squeeze"
|
||||||
|
node.vm.box = "debian/squeeze64"
|
||||||
|
node.vm.provision :ansible do |ansible|
|
||||||
|
ansible.limit = "squeeze"
|
||||||
|
ansible.playbook = "vagrant.yml"
|
||||||
|
# ansible.tags = "mysql"
|
||||||
|
ansible.raw_arguments = [
|
||||||
|
"-b",
|
||||||
|
"--ask-vault-pass",
|
||||||
|
# "--diff",
|
||||||
|
# "--step",
|
||||||
|
# "--syntax",
|
||||||
|
# "-vvv",
|
||||||
|
]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# # Stretch
|
# # Stretch
|
||||||
# config.vm.define :mongo1 do |node|
|
# config.vm.define :mongo1 do |node|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
# evolinux_fqdn: "{{ evolinux_hostname }}.{{ evolinux_domain }}"
|
# evolinux_fqdn: "{{ evolinux_hostname }}.{{ evolinux_domain }}"
|
||||||
# evolinux_internal_hostname: "vagrant-{{ inventory_hostname }}-internal"
|
# evolinux_internal_hostname: "vagrant-{{ inventory_hostname }}-internal"
|
||||||
# evolinux_internal_domain: "evolix-internal.local"
|
# evolinux_internal_domain: "evolix-internal.local"
|
||||||
|
# host_group: vagrant
|
||||||
|
|
||||||
evolinux_apt_upgrade: False
|
evolinux_apt_upgrade: False
|
||||||
# evolinux_root_disable_ssh: False
|
# evolinux_root_disable_ssh: False
|
||||||
|
@ -65,9 +66,6 @@
|
||||||
- name: php74
|
- name: php74
|
||||||
release: bullseye
|
release: bullseye
|
||||||
# evolinux_apt_public_sources: False
|
# evolinux_apt_public_sources: False
|
||||||
# tasks:
|
|
||||||
# - debug:
|
|
||||||
# var: "ansible_lsb.codename"
|
|
||||||
|
|
||||||
# pre_tasks:
|
# pre_tasks:
|
||||||
# - name: "Ansible | List all known variables and facts"
|
# - name: "Ansible | List all known variables and facts"
|
||||||
|
@ -75,10 +73,10 @@
|
||||||
# var: hostvars[inventory_hostname]
|
# var: hostvars[inventory_hostname]
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- bullseye-detect
|
|
||||||
# - aws-tuning
|
# - aws-tuning
|
||||||
# - evolinux-base
|
# - apt
|
||||||
# - evolinux-users
|
- evolinux-base
|
||||||
|
- 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 }
|
||||||
|
@ -87,7 +85,8 @@
|
||||||
# - mysql
|
# - mysql
|
||||||
# - mysql-oracle
|
# - mysql-oracle
|
||||||
# - percona
|
# - percona
|
||||||
# - packweb-apache
|
# - postgresql
|
||||||
|
- packweb-apache
|
||||||
# - { role: packweb-apache, packweb_mysql_variant: "oracle" }
|
# - { role: packweb-apache, packweb_mysql_variant: "oracle" }
|
||||||
# - { role: memcached, memcached_instance_name: "instance1" }
|
# - { role: memcached, memcached_instance_name: "instance1" }
|
||||||
# - { role: memcached, memcached_instance_name: "instance2", memcached_port: 11212 }
|
# - { role: memcached, memcached_instance_name: "instance2", memcached_port: 11212 }
|
||||||
|
@ -96,6 +95,7 @@
|
||||||
# - { role: redis, redis_instance_name: "instance2", redis_port: 6381 }
|
# - { role: redis, redis_instance_name: "instance2", redis_port: 6381 }
|
||||||
# - evoacme
|
# - evoacme
|
||||||
# - etc-git
|
# - etc-git
|
||||||
|
# - kvm-host
|
||||||
# - mongodb
|
# - mongodb
|
||||||
# - mysql
|
# - mysql
|
||||||
# - proftpd
|
# - proftpd
|
||||||
|
@ -122,6 +122,10 @@
|
||||||
# - { role: webapps/evoadmin-mail }
|
# - { role: webapps/evoadmin-mail }
|
||||||
# - { role: webapps/roundcube }
|
# - { role: webapps/roundcube }
|
||||||
|
|
||||||
|
# tasks:
|
||||||
|
# - debug:
|
||||||
|
# var: "ansible_lsb.codename"
|
||||||
|
|
||||||
# post_tasks:
|
# post_tasks:
|
||||||
# - include_role:
|
# - include_role:
|
||||||
# name: etc-git
|
# name: etc-git
|
||||||
|
|
Loading…
Reference in a new issue