init.sls 291 B

123456789101112
  1. #
  2. # SSH private key for GIT access
  3. {% if 'fastd_peers' in salt['pillar.get'] ('nodes:' ~ grains['id'] ~ ':roles', []) %}
  4. /root/.ssh/ffho_peers_git.id_rsa:
  5. file.managed:
  6. - contents_pillar: ffho:keys:peers_git:ssh_privkey
  7. - user: root
  8. - group: root
  9. - mode: 400
  10. {% endif %}