Random Fabric tasks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
fabfile.py
requirements.txt

README.md

Fabrictasks

Random Fabric tasks

OS

  • fab reboot -I --hosts=eslog02,eslog03

    Just a straight up reboot yo

  • fab updatepackages -I --hosts=eslog02,eslog03

    apt-get upgrade these hosts

Puppet

  • fab puppet_statusall --hide=running

    Get status of all puppet agents

  • fab puppet_kickall -I --hide=running

    Run puppet agent -t on every node

  • fab puppet_restartall -I --hide=running

    Restart puppet agent on every node

  • fab puppet_start -I --hosts=eslog02,eslog03

    Start puppet agent on selected nodes

  • fab puppet_stop -I --hosts=eslog02,eslog03

    Stop puppet agent on selected nodes

Lumberjack

  • fab lumberjack_restartall -I --hide=running

    Restart logstash-forwarder on all nodes. Good for fixing that thing.

OSSEC

  • fab ossec_reinstall -I --hosts=eslog02,eslog03

    Uninstall/Reinstall OSSEC

Patch Report

  • fab patch_report -I --hide=everything,status

    Generate a patch report

Heartbleed

  • fab hb_checkversions --hide=running

    Print OpenSSL package versions

  • fab hb_update -I --hosts=eslog02,eslog03

    Update hosts with vulnerable OpenSSL. If Nginx or Apache is installed, restart webserver.