Ansible: Difference between revisions
From wiki.vacula.xyz
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Inventories == | |||
=== Satellite/Foreman Dynamic Inventory === | |||
Create a file ending in "foreman.yml" with the following content: | |||
<nowiki>--- | |||
plugin: redhat.satellite.foreman | |||
validate_certs: False | |||
url: https://satellite.example.com | |||
user: USERNAME_FOR_SATELLITE | |||
password: PASSWORD_FOR_SATELLITE</nowiki> | |||
== Navigator == | == Navigator == | ||
Ansible Navigator is a TUI for running Ansible playbooks, managing inventory, etc... | Ansible Navigator is a TUI for running Ansible playbooks, managing inventory, etc... | ||
Latest revision as of 14:45, 21 April 2025
Inventories
Satellite/Foreman Dynamic Inventory
Create a file ending in "foreman.yml" with the following content:
--- plugin: redhat.satellite.foreman validate_certs: False url: https://satellite.example.com user: USERNAME_FOR_SATELLITE password: PASSWORD_FOR_SATELLITE
Ansible Navigator is a TUI for running Ansible playbooks, managing inventory, etc...
Install
python3 -m pip install ansible-navigator --user
Config
Quick generate with ansible-navigator settings --sample
My ~/.ansible-navigator.yml config
---
ansible-navigator:
playbook-artifact:
# Disable playbook artifacts from littering the directory
enable: False