mirror of https://github.com/kewlfft/ansible-aur
Compare commits
4 Commits
87a15853fa
...
9b25b11cea
Author | SHA1 | Date |
---|---|---|
kewl | 9b25b11cea | |
kewl | 2c090a49a8 | |
Lorenzo Bettini | 07e5fe301f | |
Maxwell G | 49a077790e |
|
@ -97,12 +97,14 @@ This user can be created in an Ansible task with the following actions:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Create the `aur_builder` user
|
- name: Create the `aur_builder` user
|
||||||
|
become: yes
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: aur_builder
|
name: aur_builder
|
||||||
create_home: yes
|
create_home: yes
|
||||||
group: wheel
|
group: wheel
|
||||||
|
|
||||||
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
|
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
|
||||||
|
become: yes
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/sudoers.d/11-install-aur_builder
|
path: /etc/sudoers.d/11-install-aur_builder
|
||||||
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
||||||
|
|
|
@ -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
|
# 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',
|
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
|
||||||
# and '.git' are always filtered
|
# and '.git' are always filtered
|
||||||
build_ignore: []
|
build_ignore:
|
||||||
|
- .github
|
||||||
|
- .gitignore
|
||||||
|
|
Loading…
Reference in New Issue