diff options
Diffstat (limited to 'lamp_simple/roles/web/tasks/copy_code.yml')
-rw-r--r-- | lamp_simple/roles/web/tasks/copy_code.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lamp_simple/roles/web/tasks/copy_code.yml b/lamp_simple/roles/web/tasks/copy_code.yml index 6677cab..71c8971 100644 --- a/lamp_simple/roles/web/tasks/copy_code.yml +++ b/lamp_simple/roles/web/tasks/copy_code.yml @@ -3,7 +3,11 @@ # the version control system. - name: Copy the code from repository - git: repo={{ repository }} dest=/var/www/html/ + git: + repo: "{{ repository }}" + dest: /var/www/html/ - name: Creates the index.php file - template: src=index.php.j2 dest=/var/www/html/index.php + template: + src: index.php.j2 + dest: /var/www/html/index.php |