jedimt.nebulon_create_npod

Ansible Role: Create Nebulon nPod

This role sets up a Nebulon nPod cluster. For more details on how to use this role, check out the Nebulon Ansible tutorial.

Requirements

  • Ansible version 3.0 (or Ansible Core 2.10) or higher
  • Nebulon Ansible module (nebulon.nebulon_on) version 1.4.0
  • Nebulon smartInfrastructure servers with the Nebulon Services Processing Unit (SPU) installed
  • Internet connection to the Nebulon ON UCAPI GraphQL endpoint
  • Nebulon Python SDK (nebpyclient) version 2.0.8

Role Variables

You can find Nebulon SPU default settings in the defaults/main.yml file.

# Protected credentials stored in Ansible Vault. Make sure to define the vault_neb_username
# and vault_neb_password variables in the Ansible Vault and pass them to the role.
neb_username: "{{ vault_neb_username }}"
neb_password: "{{ vault_neb_password }}"

# Define a name for the nPod you want to create
npod_name: "Default nPod"

# Choose the Nebulon ON template to use for the nPod
npod_template: "K8s Local"

# Specify the group for the Nebulon ON nPod.
npod_group: Kubernetes

# Set the time zone for the nPod
timezone: "US/Pacific"

# Add a note for the nPod.
npod_note: "Created by Ansible playbook"

# Set this to "present" to create the nPod.
npod_state: present

Dependencies

None.

Example Playbook

# ===========================================================================
# Create Nebulon nPod
# ===========================================================================
- name: Create Nebulon nPod
  hosts: localhost
  connection: local
  gather_facts: false
  tags: play_create_npod

  vars_files:
    # Ansible vault containing all necessary passwords
    - "../../credentials.yml"

  roles:
    - { role: jedimt.nebulon_create_npod, npod_name: "K8s_Lenovo" }

License

MIT

Author Information

Aaron Patten
aaronpatten@gmail.com

Informazioni sul progetto

Create Nebulon nPod

Installa
ansible-galaxy install jedimt.nebulon_create_npod
Licenza
mit
Download
111
Proprietario