miquelMariano.xorux_config

Role Name

This role sets up a Xorux device to monitor VSP Gx00 storage systems.

Install from Ansible Galaxy

Run the following command to install:

ansible-galaxy install miquelmariano.xorux_config

Requirements

You need miquelMariano.hitachiCCI.

See Dependencies for more details.

Role Variables

firmware_version
The version of the Export Tool must match the SVP firmware version.

$ raidqry -l -I300 
  No  Group    Hostname     HORCM_ver   Uid   Serial#   Micro_ver     Cache(MB)
   1    ---     localhost   01-35-03-08     0   471234    83-01-28/00      320000

Dependencies

To install dependencies, run:

ansible-galaxy install miquelmariano.hitachicci

Example Playbook

Here is an example of a playbook you can use:

#xorux.yml

# This play runs when the variable update_mode is set to "true", ensuring that the role is up to date. By default, update_mode is "false".
- hosts: ansible
  user: root
  tasks:
    - name: Ensure the role is up to date
      command: ansible-galaxy install --force {{ item }}
      with_items:
        - miquelmariano.xorux_config
      when:
        - update_mode | default(False)
      tags: update
      ignore_errors: yes

# Make sure the role folder exists. If it doesn't, the playbook will not find the role and will fail. You should create the directory manually: "mkdir /etc/ansible/my_role"
- name: Configure the Xorux appliance
  hosts: "{{ servers }}:!localhost"
  user: root
  serial: 1
  roles:
   - role: miquelmariano.xorux_config

Usage

Run this command to use the playbook:

ansible-playbook playbooks/xorux.yml -i inventory/servers -e "servers=xorux-prod firmware_version=83-04-26 update_mode=true"

License

This role is licensed under the BSD license.

Author Information

You can find more information at miquelMariano.github.io or follow @miquelMariano on Twitter.

Informazioni sul progetto

Xorux appliance configuration

Installa
ansible-galaxy install miquelMariano.xorux_config
Licenza
Unknown
Download
94
Proprietario