From f15e4d1f9b46edcd22411a4fb7e847435698fe60 Mon Sep 17 00:00:00 2001 From: kewl fft Date: Sun, 31 Dec 2017 21:39:58 +0100 Subject: [PATCH] README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b28d045..dc96779 100644 --- a/README.md +++ b/README.md @@ -63,14 +63,14 @@ Use it in a task, as in the following examples: [...] ``` -### Create aur_builder -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 has no need for password with pacman in sudoers. -This can be done with Ansible with the following actions: +### Create "aur_builder" user +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, *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 - copy: path: /etc/sudoers.d/aur_builder-allow-to-sudo-pacman - content: 'aur-builder ALL=(ALL) NOPASSWD: /usr/bin/pacman' - validate: 'visudo -cf %s' + content: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman' + validate: /usr/sbin/visudo -cf %s ``` \ No newline at end of file