Ansible Ad-Hoc Commands – 1

# ansible all -i hosts –list-hosts (To see all hosts in inventory file named hosts) # ansible rl6 -i hosts –list-hosts (To see hosts of host group named rl6 created in inventory) # ansible ungrouped -i hosts –list-hosts (To see ungrouped hosts) # ansible rhel -i hosts –list-hosts (To see group parent to contains children […]

Subscription Management for RHEL OS

To register your system to RedHat Customer Portal Subscription management. Use below commands and use your RedHat login credential: # subscription-manager register #it will ask Username/Password. To get List of available subscriptions: # subscription-manager list –available –all To active a subscription, you need to subscribe it through Pool ID (which can be get from above […]