bundles/icinga2: introduce, install checks, install sources.list, create postgres database
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
a9c00409b4
commit
a176a1aa65
7 changed files with 288 additions and 0 deletions
24
bundles/icinga2/metadata.py
Normal file
24
bundles/icinga2/metadata.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
defaults = {
|
||||
'apt': {
|
||||
'repos': {
|
||||
'icinga2': {
|
||||
'items': {
|
||||
'deb http://packages.icinga.com/{os} icinga-{os_release} main',
|
||||
'deb-src http://packages.icinga.com/{os} icinga-{os_release} main',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'postgresql': {
|
||||
'roles': {
|
||||
'icinga2': {
|
||||
'password': repo.vault.password_for(f'{node.name} postgresql icinga2'),
|
||||
},
|
||||
},
|
||||
'databases': {
|
||||
'icinga2': {
|
||||
'owner': 'icinga2',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue