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
|
||||
config.vm.provider :libvirt do |libvirt|
|
||||
# libvirt.storage :file, :size => '10G', :device => 'vdb'
|
||||
libvirt.memory = 512
|
||||
libvirt.memory = 1024
|
||||
libvirt.cpus = 1
|
||||
end
|
||||
|
||||
|
@ -98,6 +98,25 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
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
|
||||
# config.vm.define :mongo1 do |node|
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# evolinux_fqdn: "{{ evolinux_hostname }}.{{ evolinux_domain }}"
|
||||
# evolinux_internal_hostname: "vagrant-{{ inventory_hostname }}-internal"
|
||||
# evolinux_internal_domain: "evolix-internal.local"
|
||||
# host_group: vagrant
|
||||
|
||||
evolinux_apt_upgrade: False
|
||||
# evolinux_root_disable_ssh: False
|
||||
|
@ -65,9 +66,6 @@
|
|||
- 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"
|
||||
|
@ -75,10 +73,10 @@
|
|||
# var: hostvars[inventory_hostname]
|
||||
|
||||
roles:
|
||||
- bullseye-detect
|
||||
# - aws-tuning
|
||||
# - evolinux-base
|
||||
# - evolinux-users
|
||||
# - apt
|
||||
- evolinux-base
|
||||
- evolinux-users
|
||||
# - { role: del-user, username: "gcolpart" }
|
||||
# - metricbeat
|
||||
# - { role: squid, squid_localproxy_enable: True }
|
||||
|
@ -87,7 +85,8 @@
|
|||
# - mysql
|
||||
# - mysql-oracle
|
||||
# - percona
|
||||
# - packweb-apache
|
||||
# - 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 }
|
||||
|
@ -96,6 +95,7 @@
|
|||
# - { role: redis, redis_instance_name: "instance2", redis_port: 6381 }
|
||||
# - evoacme
|
||||
# - etc-git
|
||||
# - kvm-host
|
||||
# - mongodb
|
||||
# - mysql
|
||||
# - proftpd
|
||||
|
@ -122,6 +122,10 @@
|
|||
# - { role: webapps/evoadmin-mail }
|
||||
# - { role: webapps/roundcube }
|
||||
|
||||
# tasks:
|
||||
# - debug:
|
||||
# var: "ansible_lsb.codename"
|
||||
|
||||
# post_tasks:
|
||||
# - include_role:
|
||||
# name: etc-git
|
||||
|
|
Loading…
Reference in a new issue