gitlab-cy.yml

This commit is contained in:
s0dy
2018-11-18 15:03:14 +01:00
parent f626afdc85
commit f686b725be
2 changed files with 22 additions and 6 deletions

19
.ansible-ci.yml Normal file
View File

@ -0,0 +1,19 @@
- hosts: hifive
become: yes
become_user: root
tasks:
- name: Copy all files to web server
synchronize:
src: /builds/aviortheking/blog_imie/project/
dest: /var/www/html
rsync_opts:
- --exclude=.htaccess
- name: Change file ownership, group and mode
file:
path: /var/www/html
owner: gitlab
group: apache
mode: "u=rw,g=r,o=r"
recurse: yes