mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 10:02:30 +03:00 
			
		
		
		
	aur_only extended to all helpers
This commit is contained in:
		@@ -18,7 +18,7 @@ The following helpers are supported and automatically selected, if present, in t
 | 
				
			|||||||
|state          |**present**, latest                                    |Desired state of the package, 'present' skips operations if the package is already installed.|
 | 
					|state          |**present**, latest                                    |Desired state of the package, 'present' skips operations if the package is already installed.|
 | 
				
			||||||
|upgrade        |yes, **no**                                            |Whether or not to upgrade whole system.|
 | 
					|upgrade        |yes, **no**                                            |Whether or not to upgrade whole system.|
 | 
				
			||||||
|use            |**auto**, yay, pacaur, trizen, pikaur, aurman, makepkg |The helper to use, 'auto' uses the first known helper found and makepkg as a fallback.|
 | 
					|use            |**auto**, yay, pacaur, trizen, pikaur, aurman, makepkg |The helper to use, 'auto' uses the first known helper found and makepkg as a fallback.|
 | 
				
			||||||
|aur_only       |yes, **no**                                            |Limit operation to the AUR. Compatible with yay, pacaur, aurman and trizen.|
 | 
					|aur_only       |yes, **no**                                            |Limit helper operation to the AUR.|
 | 
				
			||||||
|skip_pgp_check |yes, **no**                                            |Only valid with makepkg. Skip PGP signatures verification of source file, useful when installing packages without GnuPG properly configured.|
 | 
					|skip_pgp_check |yes, **no**                                            |Only valid with makepkg. Skip PGP signatures verification of source file, useful when installing packages without GnuPG properly configured.|
 | 
				
			||||||
|ignore_arch    |yes, **no**                                            |Only valid with makepkg. Ignore a missing or incomplete arch field, useful when the PKGBUILD does not have the arch=('yourarch') field.|
 | 
					|ignore_arch    |yes, **no**                                            |Only valid with makepkg. Ignore a missing or incomplete arch field, useful when the PKGBUILD does not have the arch=('yourarch') field.|
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -60,7 +60,7 @@ options:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    aur_only:
 | 
					    aur_only:
 | 
				
			||||||
        description:
 | 
					        description:
 | 
				
			||||||
            - Limit operation to the AUR. Compatible with yay, aurman, pacaur and trizen.
 | 
					            - Limit helper operation to the AUR.
 | 
				
			||||||
notes:
 | 
					notes:
 | 
				
			||||||
  - When used with a `loop:` each package will be processed individually,
 | 
					  - When used with a `loop:` each package will be processed individually,
 | 
				
			||||||
    it is much more efficient to pass the list directly to the `name` option.
 | 
					    it is much more efficient to pass the list directly to the `name` option.
 | 
				
			||||||
@@ -92,7 +92,7 @@ use_cmd = {
 | 
				
			|||||||
    'makepkg': ['makepkg', '--syncdeps', '--install', '--noconfirm', '--needed']
 | 
					    'makepkg': ['makepkg', '--syncdeps', '--install', '--noconfirm', '--needed']
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
has_aur_option = ['yay', 'pacaur', 'trizen', 'aurman']
 | 
					has_aur_option = ['yay', 'pacaur', 'trizen', 'pikaur', 'aurman']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def package_installed(module, package):
 | 
					def package_installed(module, package):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user