Skip to content

Commit

Permalink
salt: Set roster to kubernetes directly in Salt master config
Browse files Browse the repository at this point in the history
Add roster directly in salt master config so that it's simpler to do
some manual call to `salt-ssh` directly.

Also in Salt 3002.5 `roster` from kwargs in ssh command is ignored,
sees saltstack/salt#59657
  • Loading branch information
TeddyAndrieux committed Mar 1, 2021
1 parent cbbdd37 commit 80ac2a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions salt/metalk8s/salt/master/files/master-99-metalk8s.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ roster_defaults:
use_superseded:
- module.run

# Set default roster to kubernetes
roster: kubernetes

# Globally disable SSH host key checks
no_host_keys: true

Expand Down

0 comments on commit 80ac2a2

Please sign in to comment.