Compare commits

...

4 Commits

Author SHA1 Message Date
kewl 9b25b11cea
Merge pull request #66 from gotmax23/master
Remove unnecessary files from collection tarball
2021-11-08 11:03:48 +00:00
kewl 2c090a49a8
Merge pull request #67 from LorenzoBettini/patch-1
Use become: yes in the example for creating aur_builder
2021-11-08 08:18:34 +00:00
Lorenzo Bettini 07e5fe301f
Use become: yes in the example for creating aur_builder
It is my understanding that for creating the `aur_builder` you have to become root; maybe that's something one does in the whole playbook, but if one wants to specify that only when it's needed, the example could be improved as suggested, so that it's self-contained and can be simply copied and pasted.
2021-11-07 13:08:56 +01:00
Maxwell G 49a077790e
Remove unnecessary files from collection tarball 2021-11-04 16:55:37 -05:00
2 changed files with 5 additions and 1 deletions

View File

@ -97,12 +97,14 @@ This user can be created in an Ansible task with the following actions:
```yaml
- name: Create the `aur_builder` user
become: yes
ansible.builtin.user:
name: aur_builder
create_home: yes
group: wheel
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
become: yes
ansible.builtin.lineinfile:
path: /etc/sudoers.d/11-install-aur_builder
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'

View File

@ -65,4 +65,6 @@ issues: https://github.com/kewlfft/ansible-aur/issues
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
# and '.git' are always filtered
build_ignore: []
build_ignore:
- .github
- .gitignore