Ansible Examples
  • 10 Mar 2023
  • 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's professional services department. A list of playbooks is provided in the table.

Categorynamedescription
Managed Devicesmd_create_device.ymlCreates/Updates a Managed Device
Managed Devicesmd_set_auto_discovery.ymlCreates/Updates Auto Discovery Scans
Networknet_create_connections.ymlCreates/Updates a Network Connection
Networknet_set_settings.ymlUpdates General Network Settings, like hostname and failover settings
Generalng_get_facts.ymlRetrievs Nodegrid device facts, like version, model, and more
Generalng_import_settings.ymlEnables to import any list of import_settings
Generalng_export_settings.ymlExports Nodegrid settings in the export_settings format to a local file
Generalng_cli_cmd.ymlAllows running any Nodegrid Cli command
Generalng_sync_managed_device.ymlSynchronizes a list of Managed Devices between multiple Nodegrid Appliances
Generalng_sync_settings.ymlSyncronises a list of System Settings between multiple Nodegrid Appliances
Securitysec_authentication_add_servers.ymlCreates/Updates Authentication Server settings
Securitysec_authentication_add_sso.ymlCreates/Updates SSO Server settings
Securitysec_authentication_add_two_factor.ymlCreates/Updates Two Factor authentication settings
Securitysec_authorization_add_group.ymlCreates/Updates local user group settings
Securitysec_password_rules_set.ymlUpdates local user password rule settings
Setupsetup_authorize_user.ymlcell
Setupsetup_configure_factory_nodegrid.ymlcell
Systemsys_date_time_set_auto.ymlCreates/Updates Systems Date and Time settings
Systemsys_date_time_set_manual.ymlCreates/Updates Systems Date and Time settings
Systemsys_licenses_add.ymlAdds a Nodegrid license to a Nodegrid system
Systemsys_ntp_authentication_add.ymlCreates/Updates NTP authentication settings
Systemsys_ntp_server_set.ymlCreates/Updates NTP server settings
Systemsys_preferences_set.ymlUpdates System Preferences, like session timeout and more

Was this article helpful?


ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence