Skip to content

Instantly share code, notes, and snippets.

@tkizm1
Last active February 24, 2017 05:19
Show Gist options
  • Save tkizm1/2023b591fdd5cb00212eac69d8fb4e11 to your computer and use it in GitHub Desktop.
Save tkizm1/2023b591fdd5cb00212eac69d8fb4e11 to your computer and use it in GitHub Desktop.
---
- hosts: bb.com, cc.com
vars:
- http_port: 80
- max_clients: 200
- project_root: /var/www/flask/wtf
remote_user: root
tasks:
- name: ensure apache is at the latest version
apt: name=nginx state=latest
- name: Create directory for flask
file: dest={{project_root}} state=directory mode=0755
- name: checkout source
git:
repo: git@git.xxx:xx/xx
dest: "{{project_root}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment