Server IP : 85.214.239.14 / Your IP : 18.189.186.165 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/ansible_collections/purestorage/fusion/playbooks/simple/ |
Upload File : |
--- - name: Setup Fusion resources hosts: localhost tasks: - name: Create new region purestorage.fusion.fusion_region: issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}" private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}" state: present # or absent name: region1 display_name: "region1" - name: Create new Availability Zone purestorage.fusion.fusion_az: issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}" private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}" state: present # or absent name: az1 region: region1 display_name: "az1" - name: Create new network interface group purestorage.fusion.fusion_nig: issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}" private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}" state: present # or absent name: "interface_group1" availability_zone: "az1" region: region1 mtu: 1500 gateway: 172.17.1.1 prefix: 172.17.1.0/24 - name: Create new Storage Endpoint purestorage.fusion.fusion_se: issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}" private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}" state: present # or absent region: region1 name: default display_name: default availability_zone: az1 endpoint_type: iscsi iscsi: - address: "172.17.1.2/24" gateway: "172.17.1.1" network_interface_groups: ["interface_group1"] - address: "172.17.1.1/24" gateway: "172.17.1.1" network_interface_groups: ["interface_group1"] - name: Register new array purestorage.fusion.fusion_array: issuer_id: "{{ ansible_env.FUSION_ISSUER_ID }}" private_key_file: "{{ ansible_env.FUSION_PRIVATE_KEY_FILE }}" state: present # or absent name: flasharray1 display_name: "flasharray1" az: az1 hardware_type: flash-array-x appliance_id: 1187351-242133817-5976825671211737520 region: region1 host_name: flasharray1