mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-23 19:32:15 +00:00
gitlab-cy.yml
This commit is contained in:
parent
568062874a
commit
5a560308d6
@ -1,6 +1,4 @@
|
|||||||
- hosts: hifive
|
- hosts: hifive
|
||||||
#become: yes
|
|
||||||
#become_user: gitlab
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Copy all files to web server
|
- name: Copy all files to web server
|
||||||
@ -10,10 +8,10 @@
|
|||||||
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: gitlab
|
||||||
group: apache
|
# group: apache
|
||||||
mode: "u=rwx,g=r,o=r"
|
# mode: "u=rwx,g=r,o=r"
|
||||||
recurse: yes
|
# recurse: yes
|
@ -27,11 +27,12 @@
|
|||||||
group: apache
|
group: apache
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
- name: Permissions /var/www
|
- name: Change file ownership, group and mode
|
||||||
file:
|
file:
|
||||||
path: /var/www
|
path: /var/www
|
||||||
owner: apache
|
owner: gitlab
|
||||||
group: apache
|
group: apache
|
||||||
|
mode: "u=rwx,g=rs,o=r"
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
- name: Install python-passlib
|
- name: Install python-passlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user