Last active
February 24, 2017 05:19
-
-
Save tkizm1/2023b591fdd5cb00212eac69d8fb4e11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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: [email protected]:xx/xx | |
dest: "{{project_root}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment