acquia/moonshot

View on GitHub
sample/bin/aws-codedeploy-samples/conf-mgmt/ansible/local-only/lamp_simple/roles/web/tasks/copy_code.yml

Summary

Maintainability
Test Coverage
---
# These tasks are responsible for copying the latest dev/production code from
# the version control system. 

- name: Copy the code from repository
  git: repo={{ repository }} dest=/var/www/html/ansible

- name: Creates the index.php file 
  template: src=index.php.j2 dest=/var/www/html/ansible/index.php