0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-30 21:45:25 +01:00
salt-formula/salt/ssh.sls

14 lines
361 B
Plaintext
Raw Normal View History

{% from "salt/map.jinja" import salt with context %}
ensure salt-ssh is installed:
pkg.installed:
- name: {{ salt['salt-ssh'] }}
ensure roster config:
file.managed:
- name: {{ salt.get('config_path', '/etc/salt') }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
- require:
- pkg: ensure salt-ssh is installed