Skip to content

Instantly share code, notes, and snippets.

@heywoodlh
Created October 25, 2017 21:07
Show Gist options
  • Save heywoodlh/3a81cb78158fa2a305afd6ebd43b8815 to your computer and use it in GitHub Desktop.
Save heywoodlh/3a81cb78158fa2a305afd6ebd43b8815 to your computer and use it in GitHub Desktop.
Ansible playbook to install Anti-DDOS script: https://github.com/ismailtasdelen/Anti-DDOS.git
---
- hosts: my-webservers
tasks:
- name: download the git repository
command: git clone https://github.com/ismailtasdelen/Anti-DDOS.git /tmp/Anti-DDOS
- name: run the shell script
command: bash /tmp/Anti-DDOS/anti-ddos.sh
become: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment