Features
ssh machines
machine1: #(1)
ssh: root@X.X.X.X #(2)
tags: #(3)
- foo
- foo1
message_rich: hello #(5)
otherMachine1: {ssh: "root@X.X.X.X", tags:["foo1"]}
myGroup: # (4)
otherotherMachine1: {ssh: "root@X.X.X.X", tags:["foo1"]}
-
name_of_element
type: keyobligatory
-
user@host
type: string
you can add same extra argument of open ssh command likeroot@x.X.X.X -t sudo ssh user@X.X.X.X -tobligatory
-
list of tags
type: arrayfacultatif
-
name_of_group
type: dictmust contain sub group or any elements
facultatif
-
message
type: stringmessage before ssh session, support riche syntax like
":warning:[bold red] hello"facultatif
include other starterTree config files
Local Files
example:
file_content_relative: subDir/anotherConf.yml # read an other config file on relative path
TO DO
TO DO
External Files
example:
web_content: "https://raw.githubusercontent.com/thomas10-10/starterTree/master/configExample/config.yml"
example:
github_api_content_prompt_token: https://api.github.com/repos/username/example/contents/perso.yml
example:
gitlab_api_content_prompt_token: "https://myGitlab/api/v4/projects/35/wikis/example_config.yml"
Encrypted files
it's support encrypted files with gnu, if extension file is .asc, it will prompt your password to decrypt file
pull mofifs
if external files is modified, use st> example --pull to pull modifs (it will erase your local config file example.yml in ~/.starterTree )
manage kubernetes config
example:
kubeconfig_file: "~/.kube/kindLocal"
Encrypted files
it's support encrypted files with gnu, if extension file is .asc, it will prompt your password to decrypt file
TO DO
TO DO
add web links
web_site:
www: "www.google.fr"
command
shutdown_pc:
cmd: "shutdown"
with a prompt for dangerous command
shutdown_pc:
cmdP: "shutdown"