SOFTWARE ENGINEERING

SOFTWARE PROJECT MANAGEMENT

CONFIGURATION MANAGEMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When running an Ansible playbook on a remote target host you receive a Python error similar to “[Errno 13] Permission denied:‘/home/user/.ansible/tmp’. What would be the most likely cause of this problem?
A
The specified user does not exist on the remote system
B
The user running ‘ansible-playbook’ must run it from their own home directory
C
The user’s home or ‘.ansible’ directory on the Ansible system is not writeable by the user running the play
D
The user’s home or ‘.ansible’ directory on the Ansible remote host is not writeable by the user running the play
Explanation: 

Detailed explanation-1: -By using –limit argument with ansible-playbook command we can exclude a host from playbook execution. If hostname starts with “!” it will excluded from host execution.

Detailed explanation-2: -To run Ansible, you only need Python 2.6+ on your target machines and an open SSH connection. There’s no need to install anything else! This means you’re probably ready to start using Ansible right away!

There is 1 question to complete.