diff options
author | sirkubax <muszynski@so1.net> | 2018-01-01 22:03:48 +0100 |
---|---|---|
committer | sirkubax <muszynski@so1.net> | 2018-01-01 22:03:48 +0100 |
commit | 485db56931ea13d7be17a08aa0e97ba32228afb9 (patch) | |
tree | 3ef7edee764a9c0d0b5ea19379dccb77cff08a74 /ansible.html.markdown | |
parent | 9a524f4cd1d2df67a727b0599504fd852d12c4a6 (diff) |
update
Diffstat (limited to 'ansible.html.markdown')
-rw-r--r-- | ansible.html.markdown | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown index 8a48076e..76d03ede 100644 --- a/ansible.html.markdown +++ b/ansible.html.markdown @@ -482,7 +482,7 @@ When your job fails - it is good to be effective with debugging. ### Infrastructure as a code You already know, that ansible-vault allow you to store your confidential data along with your code (in repository). You can go further - and define your ansible installation and configuration as-a-code. -See `environment.sh` to learn how to install the ansible itself inside a `virtualenv` that is not attached to your operating system (can be changed by non-privilages user), and as additiinal benefit - upgrading version of ansible is as easy as installing new version in new virtualenv. You can have multiple versions of Ansible present in the same time. This is very helpfull! +See `environment.sh` to learn how to install the ansible itself inside a `virtualenv` that is not attached to your operating system (can be changed by non-privilages user), and as additional benefit - upgrading version of ansible is as easy as installing new version in new virtualenv. What is more, you can have multiple versions of Ansible present in the same time. This is very helpfull! ```bash # recreate ansible 2.x venv @@ -501,6 +501,9 @@ $ source environment.1.9.sh ``` #### become-user, become +In Ansible - to become `sudo` - use the `become` parameter. Use `become_user` to specify the username. + +[Read more](http://docs.ansible.com/ansible/latest/become.html) ## Tips and tricks |