Add task to copy files
authorLorin Hochstein <lhochstein@netflix.com>
Mon, 23 Jan 2017 04:52:18 +0000 (20:52 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Mon, 23 Jan 2017 04:52:18 +0000 (20:52 -0800)
ch13/ansible/roles/mezzanine/tasks/main.yml

index 28464e6..1a451c3 100644 (file)
@@ -15,3 +15,8 @@
     - psycopg2
     - django-compressor
     - python-memcached
+- name: copy project files
+  synchronize:
+    src: "{{ lookup('pipe', 'dirname `pwd`') }}/mezzanine_example"
+    dest: /srv/project
+