mirror of
https://github.com/kewlfft/ansible-aur.git
synced 2025-12-16 16:58:57 +03:00
Add pamac support
This commit is contained in:
@@ -42,7 +42,7 @@ options:
|
||||
description:
|
||||
- The tool to use, 'auto' uses the first known helper found and makepkg as a fallback.
|
||||
default: auto
|
||||
choices: [ auto, yay, pacaur, trizen, pikaur, aurman, makepkg ]
|
||||
choices: [ auto, yay, pacaur, trizen, pikaur, pamac, aurman, makepkg ]
|
||||
|
||||
extra_args:
|
||||
description:
|
||||
@@ -98,11 +98,12 @@ use_cmd = {
|
||||
'pacaur': ['pacaur', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
'trizen': ['trizen', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
'pikaur': ['pikaur', '-S', '--noconfirm', '--noedit', '--needed'],
|
||||
'pamac': ['pamac', 'install', '--no-confirm'],
|
||||
'aurman': ['aurman', '-S', '--noconfirm', '--noedit', '--needed', '--skip_news', '--pgp_fetch', '--skip_new_locations'],
|
||||
'makepkg': ['makepkg', '--syncdeps', '--install', '--noconfirm', '--needed']
|
||||
}
|
||||
|
||||
has_aur_option = ['yay', 'pacaur', 'trizen', 'pikaur', 'aurman']
|
||||
has_aur_option = ['yay', 'pacaur', 'trizen', 'pikaur', 'pamac', 'aurman']
|
||||
|
||||
|
||||
def package_installed(module, package):
|
||||
|
||||
Reference in New Issue
Block a user