mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 10:02:30 +03:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			87a15853fa
			...
			9b25b11cea
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					9b25b11cea | ||
| 
						 | 
					2c090a49a8 | ||
| 
						 | 
					07e5fe301f | ||
| 
						 | 
					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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user