Ansible: Difference between revisions
From wiki.vacula.xyz
No edit summary |
|||
| Line 8: | Line 8: | ||
url: https://satellite.example.com | url: https://satellite.example.com | ||
user: USERNAME_FOR_SATELLITE | user: USERNAME_FOR_SATELLITE | ||
password: PASSWORD_FOR_SATELLITE | password: PASSWORD_FOR_SATELLITE</nowiki> | ||
</nowiki> | |||
== Navigator == | == Navigator == | ||
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