don't become while writing data to controller disk

master
citty 1 year ago
parent 0a321f2acb
commit 5e2ad66dfb

@ -31,7 +31,8 @@
content: "{{lsblk_output.stdout}}"
dest: "{{ inventory_hostname }}/lsblk.out"
delegate_to: localhost
become: no
- name: Collect netstat
block:
- name: Run command
@ -43,7 +44,7 @@
content: "{{netstat_output.stdout}}"
dest: "{{ inventory_hostname }}/netstat.out"
delegate_to: localhost
become: no
- name: Collect process data
block:
- name: Run command
@ -55,7 +56,7 @@
content: "{{ps_output.stdout}}"
dest: "{{ inventory_hostname }}/ps.out"
delegate_to: localhost
become: no
- name: Get users
get_users:
#min_uid: "{{ (ansible_os_family == 'RedHat') | ternary(500,1000) }}"

Loading…
Cancel
Save