diff options
Diffstat (limited to 'ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml')
-rw-r--r-- | ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml b/ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml new file mode 100644 index 00000000..b3dc48c0 --- /dev/null +++ b/ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml @@ -0,0 +1,17 @@ +- 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 }}"
\ No newline at end of file |