genvid-bastion¶
Set up all-in-one local environment.
usage: genvid-bastion [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
{clean,env,install,log,monitor,open,reinstall,restart,setup,start,status,stop,uninstall,update-global-tfvars}
...
Positional Arguments¶
command | Possible choices: clean, env, install, log, monitor, open, reinstall, restart, setup, start, status, stop, uninstall, update-global-tfvars |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
Sub-commands:¶
install¶
Install and set up the services.
genvid-bastion install [-h] [-m]
Named Arguments¶
-m, --checkmodules | |
Install the modules and update them Default: False |
log¶
Return the specific log for a task.
genvid-bastion log [-h] [-t] [-n LINES] [-f]
{bastion-api,cluster-api,consul,hashi-ui,nomad,vault}
Positional Arguments¶
task | Possible choices: bastion-api, cluster-api, consul, hashi-ui, nomad, vault |
Named Arguments¶
-t, --tail | Only show the last line. Default: False |
-n, --lines | The number of lines to tail (10). Default: 10 |
-f, --follow | Wait for additional content at the end of file. Default: False |
open¶
Open a link in a webbrowser or list the link available.
genvid-bastion open [-h] [link]
Positional Arguments¶
link | Name of the link |
reinstall¶
Stop all services and reinstall them.
genvid-bastion reinstall [-h] [-c] [-f] [-d] [-m]
Named Arguments¶
-c, --clean | Clean the installation. Default: False |
-f, --force | Force deinstallation. Default: False |
-d, --destroy | Destroy existing clusters. Default: False |
-m, --checkmodules | |
Install the modules and update them Default: False |
restart¶
Restart the services.
genvid-bastion restart [-h]
[{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} [{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} ...]]
Positional Arguments¶
jobs | Possible choices: bastion-api, cluster-api, consul, hashi-ui, nomad, vault, [] |
start¶
Start the services.
genvid-bastion start [-h]
[{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} [{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} ...]]
Positional Arguments¶
jobs | Possible choices: bastion-api, cluster-api, consul, hashi-ui, nomad, vault, [] |
stop¶
Stop the services.
genvid-bastion stop [-h]
[{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} [{bastion-api,cluster-api,consul,hashi-ui,nomad,vault,} ...]]
Positional Arguments¶
jobs | Possible choices: bastion-api, cluster-api, consul, hashi-ui, nomad, vault, [] |
uninstall¶
Stop and uninstall the services.
genvid-bastion uninstall [-h] [-c] [-f] [-d]
Named Arguments¶
-c, --clean | Clean the installation. Default: False |
-f, --force | Force deinstallation. Default: False |
-d, --destroy | Destroy existing clusters. Default: False |
update-global-tfvars¶
Update the global variables with your current settings.
This update the Global TFVars with your current external IP and the current toolbox.
genvid-bastion update-global-tfvars [-h]