mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 10:02:30 +03:00 
			
		
		
		
	README
This commit is contained in:
		@@ -4,6 +4,7 @@ Ansible module to use some AUR helpers. The following helpers are supported and
 | 
				
			|||||||
- [trizen](https://github.com/trizen/trizen)
 | 
					- [trizen](https://github.com/trizen/trizen)
 | 
				
			||||||
- [yaourt](https://github.com/archlinuxfr/yaourt)
 | 
					- [yaourt](https://github.com/archlinuxfr/yaourt)
 | 
				
			||||||
- [yay](https://github.com/Jguer/yay)
 | 
					- [yay](https://github.com/Jguer/yay)
 | 
				
			||||||
 | 
					- internal helper
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Options
 | 
					## Options
 | 
				
			||||||
|parameter      |required |default |choices                                      |comments|
 | 
					|parameter      |required |default |choices                                      |comments|
 | 
				
			||||||
@@ -16,6 +17,7 @@ Ansible module to use some AUR helpers. The following helpers are supported and
 | 
				
			|||||||
### Note
 | 
					### Note
 | 
				
			||||||
* Either *name* or *upgrade* is required, both cannot be used together.
 | 
					* Either *name* or *upgrade* is required, both cannot be used together.
 | 
				
			||||||
* *skip_installed* cannot be used with *upgrade*.
 | 
					* *skip_installed* cannot be used with *upgrade*.
 | 
				
			||||||
 | 
					* In the *use* *auto* mode, the internal mode is used as a fallback if no known helper is found
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installing
 | 
					## Installing
 | 
				
			||||||
1. Clone the *ansibe-aur* repository in your playbook custom-module directory:
 | 
					1. Clone the *ansibe-aur* repository in your playbook custom-module directory:
 | 
				
			||||||
@@ -44,12 +46,12 @@ Use it in a task, as in the following examples:
 | 
				
			|||||||
  become: yes
 | 
					  become: yes
 | 
				
			||||||
  become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
 | 
					  become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install - using the first known helper found
 | 
					# Install package_name using the first known helper found
 | 
				
			||||||
- aur: name=package_name
 | 
					- aur: name=package_name
 | 
				
			||||||
  become: yes
 | 
					  become: yes
 | 
				
			||||||
  become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
 | 
					  become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install - using trizen
 | 
					# Install package_name_1 and package_name_2 using trizen
 | 
				
			||||||
- aur:
 | 
					- aur:
 | 
				
			||||||
    use: trizen
 | 
					    use: trizen
 | 
				
			||||||
    name:
 | 
					    name:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user