Add support for salt-ssh functionality

This commit is contained in:
Jakub Filo 2023-05-24 20:46:21 +00:00
parent 18c845120f
commit ed8baac608
Signed by: plantroon
GPG Key ID: 7DA8C0FFEED0C0DE
3 changed files with 38 additions and 0 deletions

4
Saltfile Normal file
View File

@ -0,0 +1,4 @@
salt-ssh:
config_dir: .
roster_file: ./roster
ssh_log_file: ./log.txt

23
master Normal file
View File

@ -0,0 +1,23 @@
root_dir: .
cachedir: ./cachedir
environment: prod
#state_top_saltenv: base
#top_file_merging_strategy: merge_all
file_roots:
base:
- ./salt/srv/salt/base
prod:
- ./salt/srv/salt/prod
- ./salt/srv/salt/base
pillar_roots:
base:
- ./salt/srv/pillar/base
prod:
- ./salt/srv/pillar/prod
- ./salt/srv/pillar/base
state_output_diff: True

11
roster Normal file
View File

@ -0,0 +1,11 @@
vmware1:
host: 10.91.1.141
user: plantroon
passwd: testing123
sudo: True
tty: True
virtualbox1:
host: 10.91.1.227
user: root
passwd: osboxes.org
tty: True