mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-07-22 23:20:30 +02:00
Pillar openssh.known_hosts_salt_ssh (#128)
* Pillar openssh.known_hosts_salt_ssh * Dropped ill-named file * Fixed aliasing of host names * Improved pillar.example * Opt-in to include localhost * pillar/known_hosts_salt_ssh: clear cache in run() * Dropped forgotten debugging output
This commit is contained in:
+17
-1
@@ -303,10 +303,26 @@ openssh:
|
||||
#hostnames:
|
||||
# Restrict wich hosts you want to use via their hostname
|
||||
# (i.e. ssh user@host instead of ssh user@host.example.com)
|
||||
# target: '*' # Defaults to "*.{}".format(grains['domain']) with a fallback to '*'
|
||||
# target: '*' # Defaults to "*.{{ grains['domain']}}"
|
||||
# tgt_type: 'glob'
|
||||
# To activate the defaults you can just set an empty dict.
|
||||
#hostnames: {}
|
||||
# Include localhost, 127.0.0.1 and ::1 (default: False)
|
||||
include_localhost: False
|
||||
# Host keys fetched via salt-ssh
|
||||
salt_ssh:
|
||||
# The salt-ssh user
|
||||
user: salt-master
|
||||
# specify public host names of a minion
|
||||
public_ssh_host_names:
|
||||
minion.id:
|
||||
- minion.id
|
||||
- alias.of.minion.id
|
||||
# specify public host keys of a minion
|
||||
public_ssh_host_keys:
|
||||
minion.id: |
|
||||
ssh-rsa [...]
|
||||
ssh-ed25519 [...]
|
||||
# Here you can list keys for hosts which are not among your minions:
|
||||
static:
|
||||
github.com: 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGm[...]'
|
||||
|
||||
Reference in New Issue
Block a user