Commit de65700b authored by HgO's avatar HgO
Browse files

Merge branch '158-migration-vers-debian-bullseye' into 'main'

Resolve "Migration vers debian bullseye"

Closes #158

See merge request Neutrinet/infra!175
parents 4486d863 fa3c392f
Pipeline #790 passed with stage
in 6 minutes and 22 seconds
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-alertmanager-molecule
box: debian/buster64
- name: bullseye-alertmanager-molecule
box: debian/bullseye64
cpu: 2
memory: 1024
interfaces:
......
......@@ -41,8 +41,6 @@
- name: Installation des dépendences de matrix-goneb
apt:
name: libolm-dev
# See https://github.com/matrix-org/go-neb/issues/338#issuecomment-707989819
default_release: "{{ (ansible_distribution_release == 'buster') | ternary('buster-backports',omit) }}"
state: present
- name: Compilation de matrix-goneb # noqa no-handler
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-caddy-molecule
box: debian/buster64
- name: bullseye-caddy-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-ceph-molecule
box: debian/buster64
- name: bullseye-ceph-molecule
box: debian/bullseye64
cpu: 2
memory: 512
provisioner:
......
*********************************
Vagrant driver installation guide
*********************************
Requirements
============
* Vagrant
* Virtualbox
Install
=======
Please refer to the `Virtual environment`_ documentation for installation best
practices. If not using a virtual environment, please consider passing the
widely recommended `'--user' flag`_ when invoking ``pip``.
.. _Virtual environment: https://virtualenv.pypa.io/en/latest/
.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site
.. code-block:: bash
$ pip install 'molecule_vagrant'
---
- name: Converge
hosts: all
become: true
vars:
# https://gitlab.domainepublic.net/Neutrinet/infra/-/issues/40
ssh_use_pam: true
roles:
- commun
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
NhAAAAAwEAA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yQfdvBPUH8krEGeIawPOO+6Ldm
76zgY366pTjab/UJUBqE/QZbjeQaWa4OjrsVGIi5h/N5j5+sIirGFI+Qd4MuyyNe2RXgTa
os4ikykTgeAb2Cv7Qa6cWiEguCaGQOtILDbbcwgi/TYgdYh5xUBy/CsbzP6eTNIhBrluPk
OvAdBrpNJk0OjJqDB/3cFPUeNp7367biEY63E1+p3X02BNuSg6BA0FPT3pzwzpiAEXKkRP
UpjSFftWvO0iSIOQAAAAAB
-----END OPENSSH PRIVATE KEY-----
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDBgX7Xb5aI8aKl0trZiJWhTgegcJ+cShVC+OHgqCaHi2io37otXqIR7j211FowS/c9r466VlbCAdqmT41l4G0fQjltdnQzkbAtAc04n0+yDouDW98n+KIbwZCt9RgC1k7OTVuPzJ6E78aXoeUvU33qbT2hHMlJyxl77P6Zhk5jtEtXq8neTFPyAk1WzVHoatFYUlReKJS09SAgl49yY90KA/vxMOYUJF01ER7Yv1/gK1x0/FDvXDaFDQWEg0XpQ6r6EXm5AyZ6AYJ9kKxjqdHDNPLK56EKaD9cxbjlwLvshWQjcqHR51RmUhnNLsl16nddrmr0Fpr/hvlhcssPsDZNfRgxi3gleY3zhJwL3g5h3m45bbMsOKrygIbu8njF6MzxrQbfTWZKeGxG5YOBN7GcJRAE8826aIb6Hv3Kei9RvtLsxJLaM61F8M4Br5c1N6aCB7xXbweXBTEZzooh5CUi+9E83NUq0catobYa6GSRayOZGEhcFXBsvt+QCrJ5H2E=
dependency:
name: galaxy
driver:
name: vagrant
provider:
name: virtualbox
platforms:
- name: bullseye-commun-molecule
box: debian/bullseye64
cpu: 2
memory: 512
provisioner:
name: ansible
config_options:
defaults:
interpreter_python: /usr/bin/python3
ssh_connection:
pipelining: true
verifier:
name: ansible
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-commun-molecule
box: debian/buster64
- name: bullseye-commun-molecule
box: debian/bullseye64
cpu: 2
memory: 512
provisioner:
......
......@@ -17,6 +17,12 @@
state: absent
tags: ['ntp']
- name: Installation de systemd-timesyncd
package:
name: systemd-timesyncd
state: present
tags: ['ntp']
- name: Activation de systemd-timesyncd au démarrage
service:
name: systemd-timesyncd
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-dokuwiki-molecule
box: debian/buster64
- name: bullseye-dokuwiki-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
......
etcd_members:
- name: "buster-etcd-01-molecule"
- name: "bullseye-etcd-01-molecule"
ipv4: 172.29.129.31
- name: "buster-etcd-02-molecule"
- name: "bullseye-etcd-02-molecule"
ipv4: 172.29.129.32
- name: "buster-etcd-03-molecule"
- name: "bullseye-etcd-03-molecule"
ipv4: 172.29.129.33
......@@ -5,24 +5,24 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-etcd-01-molecule
box: debian/buster64
- name: bullseye-etcd-01-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
- network_name: private_network
ip: 172.29.129.31
auto_config: true
- name: buster-etcd-02-molecule
box: debian/buster64
- name: bullseye-etcd-02-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
- network_name: private_network
ip: 172.29.129.32
auto_config: true
- name: buster-etcd-03-molecule
box: debian/buster64
- name: bullseye-etcd-03-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-etcd-molecule
box: debian/buster64
- name: bullseye-etcd-molecule
box: debian/bullseye64
cpu: 2
memory: 512
provisioner:
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-gitlab-runner-molecule
box: debian/buster64
- name: bullseye-gitlab-runner-molecule
box: debian/bullseye64
cpu: 2
memory: 1024
interfaces:
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-go-molecule
box: debian/buster64
- name: bullseye-go-molecule
box: debian/bullseye64
cpu: 2
memory: 512
provisioner:
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-grafana-molecule
box: debian/buster64
- name: bullseye-grafana-molecule
box: debian/bullseye64
cpu: 2
memory: 1024
interfaces:
......
......@@ -12,7 +12,7 @@
uri:
url: http://localhost:3000/api/org
method: PUT
body_format: form-multipart
body_format: json
body:
name: "{{ grafana_org_name }}"
user: admin
......
......@@ -5,8 +5,8 @@ driver:
provider:
name: virtualbox
platforms:
- name: buster-grav-molecule
box: debian/buster64
- name: bullseye-grav-molecule
box: debian/bullseye64
cpu: 2
memory: 512
interfaces:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment