Welcome to mirror list, hosted at ThFree Co, Russian Federation.

copy_code.yml « tasks « web « roles « lamp_simple - github.com/ansible/ansible-examples.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 71c8971ec1e48e9f24194deff2d12d6ad1891d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# 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/

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