===== Usage ===== The easiest way to launch timmy would be running the ``timmy.py`` script. However, you need to :doc:`configure ` it first. Basically, the ``timmy.py`` is a simple wrapper that launches ``cli.py``. Full :doc:`reference ` for command line interface Basic parameters: * ``--only-logs`` only collect logs (skip files, filelists, commands and scripts) * ``-l``, ``--logs`` also collect logs (logs are not collected by default due to their size) * ``-e``, ``--env`` filter by environment ID * ``-R``, ``--role`` filter by role * ``-c``, ``--config`` use custom configuration file to overwrite defaults. See ``config.yaml`` as an example * ``-j``, ``--nodes-json`` use json file instead of polling Fuel (to generate json file use ``fuel node --json``) - speeds up initialization * ``-o``, ``--dest-file`` the name/path for output archive, default is ``general.tar.gz`` and put into ``/tmp/timmy/archives``. * ``-v``, ``--verbose`` verbose(INFO) logging * ``-d``, ``--debug`` debug(DEBUG) logging **Shell Mode** - a mode of execution which makes the following changes: * rqfile (``rq.yaml`` by default) is skipped * Fuel node is skipped * outputs of commands (specified with ``-C`` options) and scripts (specified with ``-S``) are printed on screen * any actions (cmds, scripts, files, filelists, put, **except** logs) and Parameter Based configuration defined in config are ignored. The following parameters ("actions") are available, the usage of any of them enables **Shell Mode**: * ``-C `` - Bash command (string) to execute on nodes. Using multiple ``-C`` statements will produce the same result as using one with several commands separated by ``;`` (traditional Shell syntax), but for each ``-C`` statement a new SSH connection is established * ``-S