[ ARTICLES CRÉÉS EN 2026 ]

La commande awx-manage host_metric --csv permet d’exporter les métriques des hôtes suivis par Ansible Automation Platform (AAP) au format CSV. L’export contient les dates d’automatisation, les compteurs d’exécution et les informations de suppression des hôtes. Execution de la commande et résultatsLa commande doit être exécutée dans le conteneur automation-controller-task : podman exec automation-controller-task awx-manage host_metric --csv Exemple de résultat : id,hostname,first_automation,last

A summary of how the AAP license works, including host consumption and host deletion: AAP Subscription x Menu Settings > Subscription 800 Managed Nodes:Automated: 9 - Remaining: 791 Importing hosts Does NOT consume a license Playbook execution Consume a license Host unreachable when first playbook execution Does NOT consume a license Host deletion Automation x Menu Analytics > Host Metrics > Delete Soft-delete License consumption The host is no longer counted In

Comment permettre à AAP de récupérer les paramètres associés aux hosts de Red Hat Satellite et de construire automatiquement la configuration SSH pour accéder à ces hosts via un serveur relais (ProxyJump). AAP et utilisation des paramètres Satellite pour configurer un ProxyJumpUn host nouvelement créé dans Red Hat Satellite doit pouvoir utiliser un serveur relais automatiquement dans AAP : Satellite │ │ Paramètres de l'host (aap_relay_host = server-relay.mycompany.org) │ ▼AAP —

Comment tester directement le callback d’un Job Template AAP depuis un serveur RHEL, sans passer par Satellite, les Hostgroups ou l’interface AAP. TL;DROù trouver le service callback : $ sudo find /etc/ -name ansible-callback.service Comment est appelé le callback : $ sudo vi /etc/systemd/system/ansible-callback.service Appel direct du callback : $ sudo bash -c '/usr/bin/curl -k -s --data "host_config_key=xxxxx" https://AAPserver/api/controller/v2/job_templates/JOB_NUMBER/callba

TL;DR des commandes clés pour sécuriser Gateway et EDA avec le certificat interne EtapesVérifier l’issuer du certificat serveur (ici le résultat est intCA1): $ openssl x509 -in /home/aap/hostname.sub.company.org.cert.pem -noout -issuer -subject Construire le fullchain.pem (certificat serveur + intermédiaire) : $ sudo cat /home/aap/hostname.sub.company.org.cert.pem \ /etc/pki/ca-trust/source/anchors/COMPANY-SUB-intCA1.pem \ > /home/aap/fullchain.pem Droits et owner : $ chown aap:aap /

L’objectif est de sécuriser les services Gateway et EDA d’Ansible Automation Platform (AAP) avec les certificats internes de votre entreprise. Contraintes : pas de clé privée globale pour la CA - on dispose seulement des certificats serveur signés et des intermédiaires. Problème initialLe playbook échoue systématiquement avec des erreurs SSL. Exemple Gateway : FAILED - RETRYING: [hostname.sub.company.org]: Ensure automation gateway proxy is ready (1 retries left).fatal: [hostname.sub.company.or

[ ARTICLES CRÉÉS EN 2025 ]

How I set up an automated backup system for Ansible Automation Platform (AAP) using the containerized installer. The script and the crontab setup run a daily backup, store it on a remote NFS location, and clean up older backups over time. The backup script must be launched using the dedicated non-root user (in this case, aap). This user also needs access to the AAP installation directory, since the backup command has to be run from there. PrerequisesPackagesYou have to install the following pack

Logging in with the dedicated non-root user account (here, aap) to perform a backup and access the automation platform’s installation directory is required. To control the compression of backup files before sending them to the host running the operation, you can use specific variables in the inventory file. Inventory file optionConnect to the aap user ang go to the installation directory then open the inventory-growth file: $ cd MyInstallDir$ vim inventory-growth Then add the following configu

How to install Ansible Automation Platform 2.6 (AAP) using the Containerized All-in-One Bundle in an offline environment.This installation focuses on the offline, containerized installation method, where all required components, including the Controller, Automation Hub, Automation Gateway, and Event-Driven are deployed via pre-packaged containers, without requiring direct internet access. Download the installation programGo to https://access.redhat.com/downloads/content/480/ver=2.6/rhel---9/2.6/

Il arrive parfois que les commandes Podman échouent pour un utilisateur rootless. Ce problème survient lorsque le répertoire runtime rootless de l’utilisateur n’est pas accessible ou possède de mauvaises permissions. Failed to obtain podman configuration: mkdir /run/user/XXXX/libpod: permission denied Origine du problèmePodman rootless utilise le répertoire $XDG_RUNTIME_DIR pour stocker ses données et sockets temporaires (libpod, run, etc.). Par défaut, ce répertoire se situe dans /run/user/&l

[ ARTICLES CRÉÉS EN 2024 ]

If you have a certificate problem with your AAP webGUI. Add a certificate1/ DL on your AAP server the certificates (probably a files named like the following: AAP-Server.your.company.org.key.pem and AAP-Server.your.company.org.cert.pem) 2/ In your /etc/tower folder you should have some old certificates, rename them and put your news certificates with the same name: # cp /etc/tower/tower.cert /etc/tower/tower.cert-$(date +%F)# cp /etc/tower/tower.key /etc/tower/tower.key-$(date +%F)# rm /etc/towe

A bash script for backup some configuration files on a distant volume. PrerequiesYou need at least this packages: # yum install nfs-utils# yum intall s-nail // for send mails You need to edit your /etc/fstab and add the following line: nfs-stockage.my.company.org:/backups/aap /mnt/aap-backups nfs defaults 0 0 You can add a cron like this (every monday at 8am): 0 8 * * 1 /root/AAP-scripts/backup-config.sh | mailx -v -s "[AAP] - Backup of $HOSTNAME" -S smtp=mail.m