Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
ansible [2017/10/01 22:04] – [Useful combinations] andi | ansible [2022/09/04 20:15] – kunsi | ||
---|---|---|---|
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: |
+ | |||
+ | <panel type=" | ||
== README.md | == README.md | ||
Line 14: | Line 18: | ||
=== Installation | === Installation | ||
- | To manage hosts with [[http:// | + | To manage hosts with [[http:// |
See https:// | See https:// | ||
+ | |||
+ | |||
=== Usage | === Usage | ||
Line 21: | Line 28: | ||
- | 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 59: | ||
* 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 81: | ||
=== 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 194: | ||
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 | ||
+ | |||
+ | … |