mirror of https://github.com/jumpserver/jumpserver
14 lines
260 B
YAML
14 lines
260 B
YAML
|
- hosts: centos
|
||
|
gather_facts: no
|
||
|
vars:
|
||
|
account:
|
||
|
username: web
|
||
|
password: test123
|
||
|
|
||
|
tasks:
|
||
|
- name: Verify password
|
||
|
win_ping:
|
||
|
vars:
|
||
|
ansible_user: "{{ account.username }}"
|
||
|
ansible_pass: "{{ account.password }}"
|