add the repository to the ansible role

This commit is contained in:
Andreas Zweili 2017-12-25 22:33:01 +01:00
parent ba2776336e
commit 6fdad5704f
1 changed files with 11 additions and 0 deletions

View File

@ -11,5 +11,16 @@
group=root
mode=655
- name: Clone repository
git: repo=https://git.2li.ch/ibz/web_AI-5.git
dest="/vagrant"
force=yes
- name: Set Permissions on the repository
file:
dest=/vagrant
owner=ansible group=ansible
recurse=yes
- name: Restart apache service
service: name=apache2 state=restarted