Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/active_directory.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL Active Directory (LDAP federation) management
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/capacity_policies.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL capacity policy management — list, create, or delete capacity policies.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/deregister_system.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Console system deregistration — query fleet membership or permanently remove
# one or more working environments from the organisation.
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/email_config.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Console email-server configuration — query, create/update, or delete.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/fleet_delete.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL fleet delete — detach any clusters from the fleet, then remove the fleet.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/fleet_management.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL fleet management — list or create fleets.
# Optionally create a folder first and place the fleet inside it.
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/folder_management.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL folder management — list, create or delete folders inside an organisation.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/llm_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL LLM configuration management — list, create, or delete LLM provider configs.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/nested_folder_fleet.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# ncl_nested_folder_fleet.yml
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/org_users.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Console org-user management — query, create, or delete local users in an org.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/performance_policies.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL performance policy management — list, create, or delete adaptive QoS
# performance policies.
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/protection_policies.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL protection policy management — list, create, or delete snapshot-based
# protection policies.
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/register_and_onboard.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL end-to-end onboarding: register user + create org → create fleet → add on-prem ONTAP system.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/register_onprem_system.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL on-premises ONTAP system registration — single or multi-cluster.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/security_policies.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL security policy management — list, create, or delete security policies.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/service_account.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL service account management — list, create, or delete service accounts.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/site.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NetApp Console – NCL Full Onboarding (site entry point)
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/storage_classes.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL storage class management — list, create, or delete storage classes.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/storage_provisioning.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Multi-cluster parallel storage provisioning.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/tasks/deregister_one.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Included by deregister_system.yml once per item in _systems_list.
# Loop variable: _system (dict with optional keys: we_id, cluster_ip, agent_id)
Expand Down
13 changes: 13 additions & 0 deletions ansible/console/local/playbooks/user_registration.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Bootstrap the first admin user on an NCL appliance and optionally set up
# the default organisation.
Expand Down Expand Up @@ -56,6 +60,15 @@
- fetch_token | bool
- ncl_registration.access_token is defined

- name: Show access token
ansible.builtin.debug:
msg: >-
✅ Access token obtained. Set this in your environment to reuse it:
export NCL_ACCESS_TOKEN="{{ ncl_access_token }}"
when:
- fetch_token | bool
- ncl_access_token | default('') | length > 0

- name: List existing organisations
netapp.console.local_organization_setup:
access_token: "{{ ncl_access_token }}"
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/volumes_delete.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# NCL volume management — list or delete ONTAP volumes via the Console proxy.
#
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/playbooks/webhooks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# Console webhook management — list, create, or delete outbound webhooks.
#
Expand Down
15 changes: 9 additions & 6 deletions ansible/console/local/vars/ncl.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NetApp Console Local — shared variable defaults
Expand All @@ -22,13 +26,11 @@ ncl_managed_by: "Managed by Ansible"
# Full URL including scheme is required — e.g. "https://ncl.corp.example.com"
# A bare IP address (without https://) will NOT work.
ncl_console_url: "" # REQUIRED: set your appliance URL
ncl_validate_certs: false # set true in production with valid TLS certs
ncl_validate_certs: false # set true in production

# ── Admin credentials ────────────────────────────────────────────────────────
# Encrypt with Ansible Vault: ansible-vault encrypt_string 'MyPassword!' --name ncl_admin_password
ncl_admin_full_name: "NCL Admin"
ncl_admin_email: "" # REQUIRED: set your admin email
ncl_admin_password: "" # REQUIRED: set via Vault or -e
# ── Admin credentials ─────────────────────────────────────────────────────────
ncl_admin_email: ""
ncl_admin_password: "" # REQUIRED: pass via -e or Vault
ncl_admin_company: "NetApp"

# ── Organisation / fleet defaults ────────────────────────────────────────────
Expand All @@ -37,6 +39,7 @@ ncl_admin_company: "NetApp"
# Can also be passed via -e ncl_org_id=<id> or NCL_ORG_ID env var.
ncl_org_id: ""
ncl_target_org_name: "NetApp"
ncl_admin_full_name: "NCL"
ncl_fleet_name: "Ansible-Managed-Fleet-1"
ncl_fleet_description: "Managed by Ansible"
# Folder to create the fleet inside (used by ncl_fleet_management.yml).
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_active_directory.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# vars/ncl_active_directory.yml — variables for
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_capacity_policy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NCL Capacity Policy — dedicated variable defaults
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_deregister_system.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# Console System Deregistration — dedicated variable defaults
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_email_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# Console Email Configuration — dedicated variable defaults
Expand Down
13 changes: 8 additions & 5 deletions ansible/console/local/vars/ncl_fleet.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# vars/ncl_fleet.yml — variables for:
Expand Down Expand Up @@ -42,17 +46,16 @@
# =============================================================================

# ── NCL appliance ─────────────────────────────────────────────────────────────
ncl_console_url: ""
ncl_validate_certs: false
ncl_console_url: "" # REQUIRED: set your appliance URL
ncl_validate_certs: false # set true in production

# ── Admin credentials ─────────────────────────────────────────────────────────
# Encrypt with: ansible-vault encrypt_string 'helloworld12345' --name ncl_admin_password
ncl_admin_email: ""
ncl_admin_password: "" # ── Organisation (leave empty to auto-discover) ───────────────────────────────
ncl_admin_password: "" # REQUIRED: pass via -e or Vault
ncl_org_id: ""

# ── Fleet ─────────────────────────────────────────────────────────────────────
ncl_fleet_name: "Fleet-1"
ncl_fleet_name: "Ansible-Managed-Fleet-1"
ncl_fleet_description: "Managed by Ansible"
# Used by playbooks/ncl_fleet_delete.yml when deleting by id instead of name:
ncl_fleet_id: ""
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_llm.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# vars/ncl_llm.yml — variables for playbooks/ncl_llm_config.yml
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_org_users.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# Console Org User Management — variable defaults
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_performance_policy.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NCL Performance Policy — dedicated variable defaults
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_protection_policy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NCL Protection Policy — dedicated variable defaults
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_register_and_onboard.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# Console Local — End-to-End Onboarding variable defaults
Expand Down
11 changes: 7 additions & 4 deletions ansible/console/local/vars/ncl_register_onprem.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# vars/ncl_register_onprem.yml — variables for playbooks/register_onprem_system.yml
Expand All @@ -16,13 +20,12 @@
# =============================================================================

# ── NCL appliance ─────────────────────────────────────────────────────────────
ncl_console_url: ""
ncl_validate_certs: false
ncl_console_url: "" # REQUIRED: set your appliance URL
ncl_validate_certs: false # set true in production

# ── Admin credentials ─────────────────────────────────────────────────────────
# Encrypt with: ansible-vault encrypt_string 'helloworld12345' --name ncl_admin_password
ncl_admin_email: ""
ncl_admin_password: "" # ── Organisation (leave empty to auto-discover) ───────────────────────────────
ncl_admin_password: "" # REQUIRED: pass via -e or Vault
ncl_org_id: ""

# ── Console Connector / agent ID ───────────────────────────────────────────────
Expand Down
4 changes: 4 additions & 0 deletions ansible/console/local/vars/ncl_security_policy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# NCL Security Policy — dedicated variable defaults
Expand Down
8 changes: 6 additions & 2 deletions ansible/console/local/vars/ncl_storage_class.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# © 2026 NetApp, Inc. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# See the NOTICE file in the repo root for trademark and attribution details.

---
# =============================================================================
# vars/ncl_storage_class.yml — variable defaults for
Expand All @@ -17,11 +21,11 @@

# ── NCL appliance ─────────────────────────────────────────────────────────────
ncl_console_url: "" # REQUIRED: set your appliance URL
ncl_validate_certs: false # set true in production
ncl_validate_certs: false # set true in production

# ── Admin credentials ─────────────────────────────────────────────────────────
ncl_admin_email: ""
ncl_admin_password: "" # REQUIRED: set via Vault or -e
ncl_admin_password: "" # REQUIRED: pass via -e or Vault

# ── Organisation ──────────────────────────────────────────────────────────────
# The org_id from the API URL:
Expand Down
Loading
Loading