Ansible Examples
  • 19 Dec 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Ansible Examples

  • Dark
    Light
  • PDF

Article summary

Ansible Libraries

Nodegrid OS-specific Ansible libraries and examples are available to all customers on GitHub (link).

Customers can deploy the libraries on an existing Nodegrid appliance, an Ansible Controller, or Ansible Automation Platform, or RedHats Opensource project AWX.

Examples

The libraries come with multiple examples of how to use available Ansible Libraries. These can be a starting point to develop other playbooks for other needs.

If assistance is needed to develop playbooks, contact ZPE professional services department. A list of playbooks is provided in the table.

Category

Name

Description

Managed Devices

md_create_device.yml

Creates/Updates a Managed Device

Managed Devices

md_set_auto_discovery.yml

Creates/Updates Auto Discovery Scans

Network

net_create_connections.yml

Creates/Updates a Network Connection

Network

net_set_settings.yml

Updates General Network Settings, like hostname and failover settings

General

ng_get_facts.yml

Retrievs Nodegrid device facts, like version, model, and more

General

ng_import_settings.yml

Enables to import any list of import_settings

General

ng_export_settings.yml

Exports Nodegrid settings in the export_settings format to a local file

General

ng_cli_cmd.yml

Allows running any Nodegrid Cli command

General

ng_sync_managed_device.yml

Synchronizes a list of Managed Devices between multiple Nodegrid Appliances

General

ng_sync_settings.yml

Syncronises a list of System Settings between multiple Nodegrid Appliances

Security

sec_authentication_add_servers.yml

Creates/Updates Authentication Server settings

Security

sec_authentication_add_sso.yml

Creates/Updates SSO Server settings

Security

sec_authentication_add_two_factor.yml

Creates/Updates Two Factor authentication settings

Security

sec_authorization_add_group.yml

Creates/Updates local user group settings

Security

sec_password_rules_set.yml

Updates local user password rule settings

Setup

setup_authorize_user.yml

Authorizes the users

Setup

setup_configure_factory_nodegrid.yml

Creates factory default settings

System

sys_date_time_set_auto.yml

Creates/Updates Systems Date and Time settings

System

sys_date_time_set_manual.yml

Creates/Updates Systems Date and Time settings

System

sys_licenses_add.yml

Adds a Nodegrid license to a Nodegrid system

System

sys_ntp_authentication_add.yml

Creates/Updates NTP authentication settings

System

sys_ntp_server_set.yml

Creates/Updates NTP server settings

System

sys_preferences_set.yml

Updates System Preferences, like session timeout and more


Was this article helpful?


ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence