Run arbitrary commands and ansible-playbook, using ansible-inventory as source of connection details
Usage
Usage of ansible-injector: <command> [<args>]
run [<args>]
run arbitrary commands on host(-s)
log [<args>]
print logs of systemd unit on host(-s) and exit
print [<args>]
print contents of the requested file and exit
print:contacts [<args>]
prints contacts of the requested host and exit
ping [<args>]
ping host(-s) and exit
disk [<args>]
print host(-s) disk usage by directory and exit
unlock [<args>]
unlock host(-s) and exit
restart [<args>]
restart systemd unit on host(-s) and exit
playbook [<args>]
run playbook on host(-s) (without any bootstrap/package updates) and exit
bootstrap [<args>]
bootstrap fresh host(-s), perform maintenance and exit
maintenance [<args>]
preform maintenance on host(-s) and exit
db:size [<args>]
print size of the 5 biggest tables on host(-s) and exit
db:vacuum [<args>]
run postgres full vacuum on host(-s) and exit
db:upgrade [<args>]
run postgres upgrade on host(-s) and exit
list-recurring [<args>]
list auto-recurring host(-s) and exit
list-installable [<args>]
list installable host(-s) and exit
list-remindable [<args>]
list installable hosts that may be reminded about stuck setup and exit
list-removable [<args>]
list removable host(-s) and exit