eoptasks: add examples

This commit is contained in:
Frédéric Péters 2018-12-22 15:08:51 +01:00
parent c64fe7b859
commit 7c7760ac92
1 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,18 @@
# [config]
# servergroups = /path/to/servergroups.yaml
# ignore = server1, server2
#
# Examples:
#
# eoptasks -k test apt.upgrade
# Run (sudo) apt upgrade on all test servers.
#
# eoptasks -k test,-database sudo apt install python-gadjo
# Run sudo apt install python-gadjo on all test servers except database servers.
#
# eoptasks -k saas/test/passerelle,ext/test --list-servers
# List servers that have saas AND test AND passerelle keywords, OR the
# ext AND test keywords.
import argparse
import configparser