summaryrefslogtreecommitdiffstats
path: root/ansible_collections/purestorage/fusion/playbooks/simple/create_tenant_space.yml
blob: a71723c007c7fb1616b64d28d90650d9a39f4841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Create tenant space
  hosts: localhost
  tasks:

    - name: Create new tenant space db_tenant_space for tenant_name
      purestorage.fusion.fusion_ts:
        issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}"
        private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}"
        state: "present"  # or absent
        name: "db_tenant_space"
        tenant: "tenant_name"