mirror of https://github.com/kewlfft/ansible-aur
aurman added and default helper from now on
parent
31d042edea
commit
1e3689fc9f
|
@ -1,5 +1,6 @@
|
|||
# Ansible AUR helper
|
||||
Ansible module to use some Arch User Repository (AUR) helpers as well as a simple internal implementation as a fallback. The following helpers are supported and automatically selected in the order they are listed:
|
||||
- [aurman](https://github.com/polygamma/aurman)
|
||||
- [pacaur](https://github.com/rmarquis/pacaur)
|
||||
- [trizen](https://github.com/trizen/trizen)
|
||||
- [pikaur](https://github.com/actionless/pikaur)
|
||||
|
@ -12,7 +13,7 @@ Ansible module to use some Arch User Repository (AUR) helpers as well as a simpl
|
|||
|--- |--- |--- |--- |---|
|
||||
|name |no | | |Name or list of names of the package(s) to install or upgrade.|
|
||||
|upgrade |no |no |yes, no |Whether or not to upgrade whole system.|
|
||||
|use |no |auto |auto, pacaur, trizen, pikaur, yaourt, yay, internal |The helper to use, 'auto' uses the first known helper found, 'internal' uses the internal helper.|
|
||||
|use |no |auto |auto, aurman, pacaur, trizen, pikaur, yaourt, yay, internal |The helper to use, 'auto' uses the first known helper found, 'internal' uses the internal helper.|
|
||||
|skip_installed |no |no |yes, no |Skip operations if the package is present.|
|
||||
|
||||
### Note
|
||||
|
|
3
aur.py
3
aur.py
|
@ -12,6 +12,7 @@ import tempfile
|
|||
def_lang = ['env', 'LC_ALL=C']
|
||||
|
||||
use_cmd = {
|
||||
'aurman': ['aurman', '-S', '--noconfirm', '--noedit', '--needed', '--aur'],
|
||||
'pacaur': ['pacaur', '-S', '--noconfirm', '--noedit', '--needed', '--aur'],
|
||||
'trizen': ['trizen', '-S', '--noconfirm', '--noedit', '--needed', '--aur'],
|
||||
'pikaur': ['pikaur', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
|
@ -96,7 +97,7 @@ def main():
|
|||
},
|
||||
'use': {
|
||||
'default': 'auto',
|
||||
'choices': ['auto', 'pacaur', 'trizen', 'pikaur', 'yaourt', 'yay', 'internal'],
|
||||
'choices': ['auto', 'aurman', 'pacaur', 'trizen', 'pikaur', 'yaourt', 'yay', 'internal'],
|
||||
},
|
||||
'skip_installed': {
|
||||
'default': 'no',
|
||||
|
|
Loading…
Reference in New Issue