pull/1/head
kewl fft 2018-01-08 19:52:12 +00:00
parent 6471ac40ff
commit 78197df94a
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ Use it in a task, as in the following examples:
While Ansible expects to SSH as root, AUR helpers do not allow executing operations as root, they all fail with "you cannot perform this operation as root". It is therefore recommended to create a user, that we will call for example *aur_builder*, that has no need for password with pacman in sudoers.
This can be done in Ansible with the following actions:
```
- user: name=aur_builder
- user: name=aur_builder group=wheel
- copy:
path: /etc/sudoers.d/aur_builder-allow-to-sudo-pacman