James is a Python developer who enables high availability and fault tolerance in application servers. James also develops application in Python which must be hosted in the managed servers.
The administrator Sainz wants James to manage 50 CentOS machines, and create python scripts to monitor the machines. James should be added to the group’s admins, developers with his default login shell as bash.
Identify the task to do the same.
- user:
name: james
shell: /bin/bash
groups: admins,developers
append: yes
- user:
name: james
shell: /bin/bash
group: admins,developers
- user:
name: james
shell: /bin/bash
group: admins,developers
append: yes
- user:
name: james
default_shell: /bin/bash
groups: admins,developers
append: yes
To get all Infosys Certified Associate in Ansible Automation Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee