RHCE with ansible
- ssh server configuration
- Install python in both server Host and client
- password and keybase authentication
- sshkey-gen
- ssh-copy-id
- ssh private key ssh public key
- sudo configuration
- web server configuration
- enable / disable service
- start / stop service
- firewalld
yum install ansible - Create RHN id / RedHat account in redhat
- Register System with redhat
- Attach pool for ansible
- Enable repos for ansible
- dnf install ansible -y
subscription-manager register
subscription-manager list --available
subscription-manager attach --pool=<pool id>
subscription-manager repos --enable ansible-VERSION-for-rhel-8-x86_64-rpms
subscription-manager repos --enable ansible-2.9-for-rhel-8-x86_64-rpms
yum install bash-completion- Step 1: install ansible
- Step 2: sudo Privilege
- Step 3: ssh keybase login
- step 4: basic ansible command
- setp 5: cfg file location