Init master role w/ pillar
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
e26039e920
commit
fed1e35c88
36
pillar/role/salt/master.sls
Normal file
36
pillar/role/salt/master.sls
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
salt:
|
||||||
|
master_remove_config: True
|
||||||
|
master:
|
||||||
|
cache: redis
|
||||||
|
cli_summary: True
|
||||||
|
ipv6: True
|
||||||
|
file_ignore_glob:
|
||||||
|
- '*.pyc'
|
||||||
|
- '*.swp'
|
||||||
|
fileserver_backend:
|
||||||
|
- roots
|
||||||
|
- git
|
||||||
|
file_roots:
|
||||||
|
base:
|
||||||
|
- /srv/formulas/salt-formula
|
||||||
|
gitfs_remotes:
|
||||||
|
- https://git.com.de/LibertaCasa/salt.git:
|
||||||
|
- root: salt
|
||||||
|
- base: production
|
||||||
|
ext_pillar:
|
||||||
|
- netbox:
|
||||||
|
virtual_machines: True
|
||||||
|
interfaces: True
|
||||||
|
interface_ips: True
|
||||||
|
site_details: False
|
||||||
|
site_prefixes: False
|
||||||
|
- git:
|
||||||
|
- production https://git.com.de/LibertaCasa/salt.git:
|
||||||
|
- root: pillar
|
||||||
|
ext_pillar_first: True
|
||||||
|
pillar_merge_lists: True
|
||||||
|
log_level: info
|
||||||
|
show_jid: True
|
||||||
|
timeout: 20
|
||||||
|
gather_job_timeout: 20
|
||||||
|
keep_jobs: 30
|
2
salt/profile/salt/master.sls
Normal file
2
salt/profile/salt/master.sls
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
include:
|
||||||
|
- salt.master
|
2
salt/role/salt/master.sls
Normal file
2
salt/role/salt/master.sls
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
include:
|
||||||
|
- profile.salt.master
|
Loading…
Reference in New Issue
Block a user