September 2018
Beginner to intermediate
214 pages
5h 53m
English
Many tasks need to be executed by a specific user, either to access restricted resources or to enable user-specific services. Although there are some Shell or Powershell commands that allow this, they may produce very long and complicated commands. The Ansible become or become_user feature allows for easier tasks that are personalized for each specific user. This feature is considered as a standard for Ansible configuration management coding owing to the level of task optimization that is offered by Ansible to simplify complicated commands, making this feature not just playbook-personalized but also task specific. The following is an example of a playbook that uses this feature:
---- name: Organize users projects folders ...
Read now
Unlock full access