add support to manage repos
This commit is contained in:
parent
496e116830
commit
9f1729ceee
4 changed files with 75 additions and 1 deletions
40
README.md
Normal file
40
README.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Packages
|
||||
|
||||
## Supported
|
||||
|
||||
Only Apt and Debian Stretch.
|
||||
|
||||
Other versions might work but are not tested.
|
||||
|
||||
## Parameters and defaults
|
||||
|
||||
packages:
|
||||
pkg: {}
|
||||
repos: {}
|
||||
|
||||
All configuration is to be placed inside the `packages` dict.
|
||||
|
||||
```
|
||||
# dictionary of package names to install. The key is the name of the packages, value musst be != none as none is used as knock out.
|
||||
pkg: {}
|
||||
|
||||
# dictionary of repositories to setup, the key is used as name for the repository. See **repo** for definition for the content
|
||||
repos: {}
|
||||
```
|
||||
|
||||
**repo**:
|
||||
```
|
||||
# url to repo, example: "http://www.deb-multimedia.org stretch main non-free"
|
||||
url: ''
|
||||
|
||||
# only set either key or keyid + keyserver
|
||||
|
||||
# gpg key to add for this repo
|
||||
key: ''
|
||||
|
||||
# key id of the key to add, for example "36A1D7869245C8950F966E92D8576A8BA88D21E9"
|
||||
keyid: ''
|
||||
|
||||
# key server to get the key from, for example "keyserver.ubuntu.com"
|
||||
keyserver:
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue