seawall align
Bring the host to the state seawall wants, in one plan (a dry run until --yes).
Bring the host to the state seawall wants, in one plan (a dry run until --yes)
Its dry run is the one check of everything not as seawall wants it, by area: init's steps not done, status's To do fixes, Security rows with a fix, stack updates (never a major), lint's restart policy, harden and limits. With --yes it runs each step through its own command, databases backed up first and the proxy's and Portainer's stacks last, and stops at the first that fails; run it again to carry on.
Usage
seawall align [OPTIONS]
Changes the host
Without --yes it prints the plan and changes nothing.
Options
--only <AREA>Only these areas (comma-separate)
--skip <AREA>Leave these areas out (comma-separate)
--yesRun the plan (without it, this is a dry run)
--confirm <HOST>The host's name, to run a plan with severe steps without a terminal
--waitAfter a redeploy, wait out the 2-minute compare with before. Without it the facts timer runs it (
SeawallDeployWorse)
Examples
seawall align
seawall align --yes
seawall align --only updates,harden --yes
seawall align --skip limits --yes
Notes
Areas: backups, init, fixes, security, updates, lint, harden, limits. What seawall finds but has no command for is listed as not covered yet.