pull/1/head
kewl fft 2017-12-31 18:19:06 +01:00
parent 59c52da181
commit aed7b9bacd
1 changed files with 4 additions and 2 deletions

View File

@ -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: