deploy ssh key from master to minion via salt pillars
I have two ssh keys that I’m trying to deploy to one of my minions. But I can’t seem to get it to deploy. It errors out. Here is the init.sls in pillars: /xxx/yyy/zzz/id_rsa: file.managed: – source: salt://private/id_rsa /xxx/yyy/zz/id_rsa.pub: file.managed: – source: salt://private/id_rsa.pub Here is my init.sls state: ssh: file.managed: – name: {{ pillar[‘private’] }} … Read more