From 81d46b2f07a1271a8a35c997128e33f82b25b159 Mon Sep 17 00:00:00 2001 From: cse47122 Date: Fri, 11 Jun 2021 18:34:20 +0000 Subject: [PATCH] Delete 'fluentd-test-mongo.yml' --- fluentd-test-mongo.yml | 57 ------------------------------------------ 1 file changed, 57 deletions(-) delete mode 100644 fluentd-test-mongo.yml diff --git a/fluentd-test-mongo.yml b/fluentd-test-mongo.yml deleted file mode 100644 index 92729a6..0000000 --- a/fluentd-test-mongo.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -- hosts: service - remote_user: docker - gather_facts: no - vars: - user: "docker" - - tasks: - -# -------------------------------------------------------------------------------------- -# --------------------- create test dir -# -------------------------------------------------------------------------------------- - - # ------------------------ - # test dir - # ------------------------- - - name: make dir for test - become: true - file: - path: "/var/log-in/test" - state: directory - owner: docker - group: docker - mode: '0755' - - - name: make dir2 - become: true - file: - path: "/var/log-in/test1" - state: directory - owner: docker - group: docker - mode: '0755' - -# -------------------------------------------------------------------------------------- -# --------------------- kill and save ps tp tmp -# -------------------------------------------------------------------------------------- - - - name: find fluentd - #shell: df -h >> /var/log-in/test/test - shell: df -h - #shell: "ps efw -opid,cmd -Cfluentd | pgrep -o fluentd" - register: fluentddate - - - name: ls fluentddate - debug: var=fluentddate.stdout_lines - - - name: write to /var/log-in/test/test2 - shell: "echo {{ item }} >> /var/log-in/test/test2" - with_items: "{{ fluentddate.stdout_lines }}" - - - name: write to /var/log-in/test1/test11 - shell: "echo {{ item }} >> /var/log-in/test1/test11" - with_items: "{{ fluentddate.stdout_lines }}" - - -