gitlab-cy.yml

This commit is contained in:
s0dy 2018-11-18 15:23:51 +01:00
parent 568062874a
commit 5a560308d6
2 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,4 @@
- hosts: hifive
#become: yes
#become_user: gitlab
tasks:
- name: Copy all files to web server
@ -10,10 +8,10 @@
rsync_opts:
- --exclude=.htaccess
- name: Change file ownership, group and mode
file:
path: /var/www/html
owner: gitlab
group: apache
mode: "u=rwx,g=r,o=r"
recurse: yes
#- name: Change file ownership, group and mode
# file:
# path: /var/www/html
# owner: gitlab
# group: apache
# mode: "u=rwx,g=r,o=r"
# recurse: yes

View File

@ -27,11 +27,12 @@
group: apache
recurse: yes
- name: Permissions /var/www
- name: Change file ownership, group and mode
file:
path: /var/www
owner: apache
owner: gitlab
group: apache
mode: "u=rwx,g=rs,o=r"
recurse: yes
- name: Install python-passlib