From 975f66f2eebe9dadba04f275774d4ab83f74cf25 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:04:41 +0200 Subject: Adding upstream version 7.7.0+dfsg. Signed-off-by: Daniel Baumann --- .../inspur/sm/playbooks/modules/examples-backup.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml (limited to 'ansible_collections/inspur/sm/playbooks/modules/examples-backup.yml') 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 000000000..b3dc48c00 --- /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 -- cgit v1.2.3