cb3aa80c62
Using a variable named salt is a bad idea when salt already has a variable named salt.
15 lines
322 B
Plaintext
15 lines
322 B
Plaintext
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
include:
|
|
- salt.master
|
|
|
|
salt-api:
|
|
pkg.installed:
|
|
- name: {{ salt_settings.salt_api }}
|
|
service.running:
|
|
- name: {{ salt_settings.api_service }}
|
|
- require:
|
|
- service: {{ salt_settings.api_service }}
|
|
- watch:
|
|
- pkg: salt-master
|