ansible-injector

command module
v0.0.0-...-9d55863 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

README

ansible-injector ko-fi coverage report Go Report Card Go Reference

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
ansible vars
  • matrix_admin - MXID of admin
  • matrix_admins - list of MXID of admins
  • matrix_domain - domain
  • etke_service_monitoring_email, matrix_monitoring_email, devture_traefik_config_certificatesResolvers_acme_email, matrix_ssl_lets_encrypt_support_email - email
  • etke_service_maintenance_branch, injector_playbook_tag - docker image tag, defaults to ansible.PlaybookTag const
  • etke_service_maintenance_enabled, injector_recurring_auto - add host to the list-recurring output, defaults to ansible.AutoRecurring const

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL