测试gold3 sudo true 位置
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
- hosts: "{{ deploy_hosts }}"
|
||||
remote_user: ubuntu
|
||||
sudo: True
|
||||
tasks:
|
||||
- name: copy shell
|
||||
copy:
|
||||
@@ -8,7 +9,6 @@
|
||||
dest: "{{ deploy_dir }}/cleanup.sh"
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
sudo: True
|
||||
mode: 0777
|
||||
# - name: cleanup previous backup files
|
||||
# shell: cd {{ deploy_dir }} && ./cleanup.sh
|
||||
@@ -19,7 +19,6 @@
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
mode: 0755
|
||||
sudo: True
|
||||
backup: no
|
||||
- name: copy conf file to dest
|
||||
copy:
|
||||
@@ -27,7 +26,6 @@
|
||||
dest: "{{ deploy_dir }}/conf/"
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
sudo: True
|
||||
mode: 0555
|
||||
- name: copy swagger files to dest
|
||||
copy:
|
||||
@@ -35,7 +33,6 @@
|
||||
dest: "{{ deploy_dir }}/"
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
sudo: True
|
||||
mode: 0555
|
||||
|
||||
- name: shell
|
||||
|
||||
Reference in New Issue
Block a user