@ -32,53 +32,53 @@ version_added: "1.2"
options :
name :
description :
- n ame of package to install / remove
- N ame of package to install / remove .
required : true
state :
description :
- state of the package
- State of the package .
choices : [ ' present ' , ' absent ' ]
required : false
default : present
cached :
description :
- use local package base or try to fetch an updated one
- Use local package base instead of fetching an updated one .
choices : [ ' yes ' , ' no ' ]
required : false
default : no
annotation :
description :
- a comma - separated list of keyvalue - pairs of the form
< + / - / : > < key > [ = < value > ] . A ' + ' denotes adding an annotation , a
' - ' denotes removing an annotation , and ' : ' denotes modifying an
- A comma - separated list of keyvalue - pairs of the form
C ( < + / - / : > < key > [ = < value > ] ) . A C ( + ) denotes adding an annotation , a
C ( - ) denotes removing an annotation , and C ( : ) denotes modifying an
annotation .
If setting or modifying annotations , a value must be provided .
required : false
version_added : " 1.6 "
pkgsite :
description :
- f or pkgng versions before 1.1 .4 , specify packagesite to use
for downloading packages , i f not specified , use settings from
/ usr / local / etc / pkg . conf
f or newer pkgng versions , specify a the name of a repository
configured in / usr / local / etc / pkg / repos
- F or pkgng versions before 1.1 .4 , specify packagesite to use
for downloading packages . I f not specified , use settings from
C ( / usr / local / etc / pkg . conf ) .
- F or newer pkgng versions , specify a the name of a repository
configured in C ( / usr / local / etc / pkg / repos ) .
required : false
rootdir :
description :
- f or pkgng versions 1.5 and later , pkg will install all packages
within the specified root directory
- can not be used together with ' chroot ' option
- F or pkgng versions 1.5 and later , pkg will install all packages
within the specified root directory .
- Can not be used together with I ( chroot ) option .
required : false
chroot :
version_added : " 2.1 "
description :
- p kg will chroot in the specified environment
- can not be used together with ' rootdir ' option
- P kg will chroot in the specified environment .
- Can not be used together with I ( rootdir ) option .
required : false
autoremove :
version_added : " 2.2 "
description :
- r emove automatically installed packages which are no longer needed
- R emove automatically installed packages which are no longer needed .
required : false
choices : [ " yes " , " no " ]
default : no