WorksheetsANSIBLE 101 Q1
Total questions: 10
Worksheet time: 30mins
What command is used to change directories?
cd
cp
su
ln
What command is used to copy a file?
cd
cp
mv
man
What command creates an empty directory?
makedir
mkdir
dir
directory
What command displays your current username?
chmod
su -l
who
whoami
What command shows you CPU and memory utilization for running processes?
sar
top
proc
uptime
Ansible is a?
Continuous Integration tool
Continuous Monitoring tool
Configuration Management tool
Configuration Deployment tools
How to install ansible using RHEL?
yum -y install ansible
rpm -y ansible
yum updateinfo ansible
apt-get install ansible
Command to verify the current ansible version
ansible -version
ansible --version
yum updateinfo ansible
uname -r
directories to hold variables for group/host
inventory
ansible.cfg
module
plugin
Ansible program files that contains ansible plug-in documentation
ansible
ansible-config
ansible-doc
ansible-playbook
