Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| ansible [2017/10/01 22:04] – [Useful combinations] andi | ansible [2021/09/17 19:15] – derchris | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| < | < | ||
| - | git clone git@mng.ber.c3voc.de: | + | git clone git@git.c3voc.de: |
| + | cd ansible | ||
| vim README.md | vim README.md | ||
| </ | </ | ||
| - | **Public version of this repository: | + | **Public version of this repository: |
| == README.md | == README.md | ||
| === Installation | === Installation | ||
| - | To manage hosts with [[http:// | + | To manage hosts with [[http:// |
| See https:// | See https:// | ||
| + | |||
| + | |||
| === Usage | === Usage | ||
| Line 21: | Line 24: | ||
| - | ansible-playbook -i event -l mixers site.yml --syntax-check | + | ansible-playbook -i inventory/event -l mixers site.yml --syntax-check |
| Basic '' | Basic '' | ||
| - | ./ | + | ./ |
| Basic '' | Basic '' | ||
| - | ./ | + | ./ |
| | | ||
| | | ||
| Line 52: | Line 55: | ||
| * make sure you have two network interfaces configured with names '' | * make sure you have two network interfaces configured with names '' | ||
| * run ansible to deploy config | * run ansible to deploy config | ||
| + | |||
| ==== monitoring.lan.c3voc.de | ==== monitoring.lan.c3voc.de | ||
| Line 73: | Line 77: | ||
| === Overview | === Overview | ||
| - | ^ Tag ^ Result ^ | + | ^ Tag |
| - | | config | Only run configuration tasks like changing config files and reload daemon. | | + | | config |
| - | | install | Run all needed tasks which needs to be run on a new and fresh installation. | | + | | install |
| - | | deploy_website | Deploy (git pull) streaming website and flush fcgi cache. | | + | | deploy_website |
| - | | nginx | Run all nginx tasks. | | + | | nginx |
| - | | icecast | Run all icecast tasks. | | + | | icecast |
| - | | haproxy | Run all haproxy tasks. | | + | | haproxy |
| - | | ssh(d) | + | | ssh(d) |
| - | | user | Manage user. | | + | | user | Manage user. | |
| - | | encodermode | Change | + | | encodermode |
| - | | voctomix | Updates/ | + | | voctomix |
| - | | '' | + | | artwork |
| + | | '' | ||
| + | | gpg | Update apt gpg key | ||
| === Useful combinations | === Useful combinations | ||
| * Change '' | * Change '' | ||
| * Deploy only streaming website: ''< | * Deploy only streaming website: ''< | ||
| - | * e.g. | + | * e.g. `./ |
| - | | + | |
| * Deploy encoder setting for a conference | * Deploy encoder setting for a conference | ||
| * edit group_vars/ | * edit group_vars/ | ||
| - | * < | + | * `./ |
| - | * or < | + | * or `./ |
| - | * or < | + | * or `./ |
| * Debug without rerunning working tasks | * Debug without rerunning working tasks | ||
| - | * < | + | * ```KEEPASS=" |
| Line 185: | Line 190: | ||
| Which one should be running can be configured with the '' | Which one should be running can be configured with the '' | ||
| Changing that and running ansible with the encodermode-Tag (or without any tag) stops the unnecessary Tasks and starts the required ones. It allows transitioning between dvswitch and voctomix within a minute. | Changing that and running ansible with the encodermode-Tag (or without any tag) stops the unnecessary Tasks and starts the required ones. It allows transitioning between dvswitch and voctomix within a minute. | ||
| + | |||
| + | |||
| + | === Other | ||
| + | |||
| + | … | ||