mirror of https://github.com/jumpserver/jumpserver
12 lines
320 B
YAML
12 lines
320 B
YAML
|
- hosts: demo
|
||
|
gather_facts: no
|
||
|
tasks:
|
||
|
- name: Verify account
|
||
|
ansible.builtin.ping:
|
||
|
become: no
|
||
|
vars:
|
||
|
ansible_user: "{{ account.username }}"
|
||
|
ansible_password: "{{ account.secret }}"
|
||
|
ansible_ssh_private_key_file: "{{ account.private_key_path }}"
|
||
|
ansible_become: no
|