Veritas InfoScale™ Installation and Configuration Using Ansible - Windows

Last Published:
Product(s): InfoScale & Storage Foundation (7.4.2)
Platform: Windows

Ansible modules for Installing InfoScale

Use the following Ansible modules in your playbooks to perform installation-related operations in the InfoScale environment. Refer to the following table for a list of modules, along with a sample playbook, used for each of the operations:

Table: Installation-related operations

Operation

Required modules

Sample playbook

Installation

  • site_facters

  • install

---
- hosts: win_clus2
  gather_facts: False
  tasks:
  - name: Facters
    veritas_infoscale_win:
     module: site_facters
    register: facts
  - name: Deploy "{{ vtas_solution }}"
    veritas_infoscale_win:
     module: install
     setup_exe_path: "{{ vtas_setup_exe_path }}"
     prod_solution: "{{ vtas_solution }}"
     edge_server: "{{ vtas_edge_server }}"
     port: "{{ vtas_port }}"
     licensekey: "{{ vtas_licensekey }}"
     installdir: "{{ vtas_installdir }}"
     state: present
     facters: "{{ groups['all'] |map('extract', 
hostvars, ['facts','infoscale_facts'])| select()|list }}"

Licensing

  • site_facters

  • licensing

---
- hosts: win_clus2
  gather_facts: False
  tasks:
  - name: Facters
    veritas_infoscale_win:
     module: site_facters
    register: facts
  - name: InfoScale Licensing
    veritas_infoscale_win:
     module: license
     product_version: 7.4.2
     licensekey: <full path of the license key file>
     facters: "{{ groups['all'] |map('extract', 
hostvars, ['facts','infoscale_facts'])| select()|list }}"
     state: present

Uninstall

  • site_facters

  • install

---
- hosts: win_clus2
  gather_facts: False
  tasks:
  - name: Facters
    veritas_infoscale_win:
     module: site_facters
    register: facts
  - name: Deploy "{{ vtas_solution }}"
    veritas_infoscale_win:
     module: install
     setup_exe_path: "{{ vtas_setup_exe_path }}"
     prod_solution: "{{ vtas_solution }}"
     edge_server: "{{ vtas_edge_server }}"
     port: "{{ vtas_port }}"
     licensekey: "{{ vtas_licensekey }}"
     installdir: "{{ vtas_installdir }}"
     state: absent
     facters: "{{ groups['all'] |map('extract', 
hostvars, ['facts','infoscale_facts'])| select()|list }}"