mirror of https://github.com/jumpserver/jumpserver
parent
0c74e92bfb
commit
503034299e
|
@ -1,9 +1,10 @@
|
|||
- hosts: demo
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Gather posix account
|
||||
- name: Gather windows account
|
||||
ansible.builtin.win_shell: net user
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
- name: Define info by set_fact
|
||||
ansible.builtin.set_fact:
|
||||
|
|
Loading…
Reference in New Issue