mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-13 10:39:19 +00:00
gitlab-cy.yml
This commit is contained in:
@ -8,10 +8,15 @@
|
||||
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: root
|
||||
group: apache
|
||||
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 {} \;
|
Reference in New Issue
Block a user