blog
Table des matières
- 2026:
- 2025:
9 billet(s) pour décembre 2025
| Notes git et ssh | 2025/12/24 10:08 | Jean-Baptiste |
| Pb - Podman kind conmon - ERROR failed to create cluster | 2025/12/15 12:26 | Jean-Baptiste |
| Podman diag | 2025/12/15 12:13 | Jean-Baptiste |
| tech:k8s_-_kind_-_images_-_nettoyer_les_images_importees | 2025/12/15 10:21 | Jean-Baptiste |
| Notes podman api | 2025/12/15 10:04 | Jean-Baptiste |
| Serveur NFS en userland avec Ganesha | 2025/12/12 17:23 | Jean-Baptiste |
| Pb - bug as root command su - user ask for password | 2025/12/05 17:28 | Jean-Baptiste |
| Solution | 2025/12/04 23:01 | Jean-Baptiste |
| Ansible - DRY - module_defaults | 2025/12/04 11:23 | Jean-Baptiste |
Find list - Trouver des fichiers à partir d'une liste
find ~/mnt/ftp $(grep -v '^#' ~/plop.lst | sed -e 's/^/ -o -name /g' | tr -d '\n' | sed -e 's/-o//')
Ou encore avec updatedb / locate / plocate
updatedb -l 0 -o db_file_nas -U ~/mnt/ftp/ locate -d db_file_nas --regex "$(grep -v '^#' ~/plop.lst | sed -e 's|^|/|' -e 's|\n|$|' | tr "\n" "|" | sed '$ s/.$//')"
AWX inventaire vault
# Secrets vars_files: - '../../secrets/{{ tower_env }}/vault.yml'
Source : https://serverfault.com/questions/878320/how-to-use-existing-vault-files-in-ansible-tower
AWX - Configuration git en local (sans serveur web)
Prérequis
- Conf SSH par clef fonctionnelle pour l'utilisateur ayant le code ansible
- Les dossiers contenant le code ansible doivent être des dépôts git
Création du Credentials de type "Source Control"
- On ajoute la clef ssh privée
- On définie l'utilisateur
Création du projet
Source Control URL : ssh://192.168.1.200:/data/ansible/playbooks
NOTE: le nom de l'utilisateur est définie dans le crédential et n'a pas besoin d'être redéfinie ici
A la racine de notre projet : roles/requirements.yml
--- - name: nginx_conf src: ssh://ansible@192.168.1.200:/data/ansible/roles/nginx_conf scm: git version: main
Pb snmp
$ snmpwalk -a MD5 -A 'password' -l authNoPriv -u nagios 10.12.51.122 .1 iso.3.6.1.2.1.4.22.1.4.2.10.12.51.1 = INTEGER: 3 iso.3.6.1.2.1.4.23.0 = Counter32: 0 security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU Timeout: No Response from 10.12.51.122 $ snmpwalk -a MD5 -A 'password' -l authNoPriv -u nagios 10.12.51.122 .1.3.6.1.2.1.4.23 iso.3.6.1.2.1.4.23.0 = Counter32: 0 security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU
blog.txt · Dernière modification : de 127.0.0.1
