0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-01 02:05:33 +01:00
salt-formula/salt/ssh.sls

14 lines
369 B
Plaintext

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