Files
offline_kubespray/collection/inspur/sm/playbooks/modules/examples-backup.yml
ByeonJungHun 360c6eef4a offline 작업
2024-02-19 16:02:29 +09:00

17 lines
335 B
YAML

- name: backup test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: " backup server settings"
inspur.sm.backup:
bak_file: "/home/wbs/"
item: "all"
provider: "{{ ism }}"