Set-OPS — moteur d'ecosystemes numeriques souverains (Alliance Boreale)

This commit is contained in:
Alliance Boreale 2026-06-24 20:17:46 -04:00
commit 3dd3f43ad8
308 changed files with 13649 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Rôle systemd_ssh_auto
Désactive systemd.ssh_auto pour éviter le bruit SSH/VSOCK.

View file

@ -0,0 +1,2 @@
---
systemd_ssh_auto_disable: true

View file

@ -0,0 +1,4 @@
---
- name: Update grub
ansible.builtin.command: update-grub
changed_when: true

View file

@ -0,0 +1,17 @@
---
- name: Déployer le paramètre GRUB pour désactiver systemd.ssh_auto
ansible.builtin.template:
src: 99-setops-systemd-ssh-auto.cfg.j2
dest: /etc/default/grub.d/99-setops-systemd-ssh-auto.cfg
owner: root
group: root
mode: "0644"
when: systemd_ssh_auto_disable | bool
notify: Update grub
- name: Supprimer le paramètre si désactivé
ansible.builtin.file:
path: /etc/default/grub.d/99-setops-systemd-ssh-auto.cfg
state: absent
when: not (systemd_ssh_auto_disable | bool)
notify: Update grub

View file

@ -0,0 +1,2 @@
# Managed by Ansible — Set-OPS
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} systemd.ssh_auto=no"