From b074dbbefa34445fbc362a702a2332fa9d2947fb Mon Sep 17 00:00:00 2001 From: pengln Date: Mon, 8 Nov 2021 18:12:10 +0800 Subject: [PATCH] =?UTF-8?q?#1001565=20=E9=92=88=E5=AF=B9nginx=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/playbooks/roles/filebeat/tasks/main.yml b/playbooks/roles/filebeat/tasks/main.yml index 304590e..574871d 100644 --- a/playbooks/roles/filebeat/tasks/main.yml +++ b/playbooks/roles/filebeat/tasks/main.yml @@ -1,12 +1,4 @@ --- -- name: Make Work directory - ansible.builtin.file: - path: "{{ work_path }}" - owner: filebeat - group: filebeat - state: directory - mode: '0755' - - name: Create Filebeat Group ansible.builtin.group: name: filebeat @@ -21,6 +13,14 @@ state: present uid: 1802 +- name: Make Work directory + ansible.builtin.file: + path: "{{ work_path }}" + owner: filebeat + group: filebeat + state: directory + mode: '0755' + - name: Install Filebeat ansible.builtin.unarchive: src: "{{ filebeat_download_url }}" -- 2.40.1