gitlab-cy.yml

This commit is contained in:
s0dy 2018-11-18 16:15:03 +01:00
parent 5a560308d6
commit 73853abd2e
2 changed files with 14 additions and 9 deletions

View File

@ -8,10 +8,15 @@
rsync_opts: rsync_opts:
- --exclude=.htaccess - --exclude=.htaccess
#- name: Change file ownership, group and mode - name: Change file ownership, group and mode
# file: file:
# path: /var/www/html path: /var/www/html
# owner: gitlab owner: root
# group: apache group: apache
# mode: "u=rwx,g=r,o=r" recurse: yes
# recurse: yes
- name: return motd to registered var
command: find /var/www/html -type f -exec chmod 640 {} \;
- name: return motd to registered var
command: find /var/www/html -type d -exec chmod 750 {} \;

View File

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