Remove -p flag from uptime cmd
This commit is contained in:
parent
dc6fb16d3e
commit
99638eb814
@ -3,7 +3,7 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: Get uptime
|
- name: Get uptime
|
||||||
ansible.builtin.shell: uptime -p
|
ansible.builtin.shell: uptime
|
||||||
register: uptime
|
register: uptime
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user