From ed8baac60802aac123afa0f5e5acb54d808ca356 Mon Sep 17 00:00:00 2001 From: Jakub Filo Date: Wed, 24 May 2023 20:46:21 +0000 Subject: [PATCH] Add support for salt-ssh functionality --- Saltfile | 4 ++++ master | 23 +++++++++++++++++++++++ roster | 11 +++++++++++ 3 files changed, 38 insertions(+) create mode 100644 Saltfile create mode 100644 master create mode 100644 roster diff --git a/Saltfile b/Saltfile new file mode 100644 index 0000000..5d30efc --- /dev/null +++ b/Saltfile @@ -0,0 +1,4 @@ +salt-ssh: + config_dir: . + roster_file: ./roster + ssh_log_file: ./log.txt diff --git a/master b/master new file mode 100644 index 0000000..e59e54e --- /dev/null +++ b/master @@ -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 diff --git a/roster b/roster new file mode 100644 index 0000000..5dee659 --- /dev/null +++ b/roster @@ -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