Move printing configuration to script
All checks were successful
Deploy to Wizard / Deploy (push) Successful in 29s
All checks were successful
Deploy to Wizard / Deploy (push) Successful in 29s
This commit is contained in:
parent
1e2dfe8061
commit
550baba73a
@ -42,5 +42,5 @@ jobs:
|
||||
username: ${{ vars.SSH_USERNAME_WIZARD }}
|
||||
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
|
||||
script: |
|
||||
declare -p
|
||||
printenv
|
||||
cd ~/homelab/wizard/config
|
||||
/bin/vbash show-config.sh
|
6
wizard/config/show-config.sh
Normal file
6
wizard/config/show-config.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/vbash
|
||||
source /opt/vyatta/etc/functions/script-template
|
||||
|
||||
run show configuration all | strip-private
|
||||
|
||||
exit
|
Loading…
Reference in New Issue
Block a user