mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-26 07:59:19 +00:00
ansible-ci.yml
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
- hosts: hifive
|
||||
become: yes
|
||||
become_user: root
|
||||
#become_user: root
|
||||
|
||||
tasks:
|
||||
- name: Copy all files to web server
|
||||
@ -19,8 +18,8 @@
|
||||
group: apache
|
||||
recurse: yes
|
||||
|
||||
- name: return motd to registered var
|
||||
- name: Change file chmod 640
|
||||
command: find /var/www/html -type f -exec chmod 640 {} \;
|
||||
|
||||
- name: return motd to registered var
|
||||
- name: Change directory chmod 750
|
||||
command: find /var/www/html -type d -exec chmod 750 {} \;
|
Reference in New Issue
Block a user