From 261afdabcb1e36168defe0b238427d73f9a5f6c5 Mon Sep 17 00:00:00 2001 From: willtome Date: Thu, 18 Aug 2022 16:04:29 -0400 Subject: [PATCH] network demos --- linux/setup.yml | 2 +- network/README.md | 9 +++++++ network/setup.yml | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 network/README.md create mode 100644 network/setup.yml diff --git a/linux/setup.yml b/linux/setup.yml index 6a9ca77..1f4bf2b 100644 --- a/linux/setup.yml +++ b/linux/setup.yml @@ -1,5 +1,5 @@ --- -user_message: | +user_message: - Be sure to update the 'activation_key' and 'org_id' extra variables for 'LINUX / Register'. https://access.redhat.com/management/activation_keys - Update Credential for Insights Inventory with Red Hat account. - Add variables for system_roles. https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles diff --git a/network/README.md b/network/README.md new file mode 100644 index 0000000..ca97db3 --- /dev/null +++ b/network/README.md @@ -0,0 +1,9 @@ +# Network Demos + +## Table of Contents +- [Network Demos](#network-demos) + - [Table of Contents](#table-of-contents) + - [About These Demos](#about-these-demos) + +## About These Demos +This category of demos shows examples of network operations and management with Ansible Automation Platform. diff --git a/network/setup.yml b/network/setup.yml new file mode 100644 index 0000000..0db0ec4 --- /dev/null +++ b/network/setup.yml @@ -0,0 +1,61 @@ +--- +user_message: + +controller_components: + - organizations + - projects + - inventory + - inventory_sources + - job_templates + +controller_organizations: + - name: Networking + +controller_projects: + - name: Network Golden Configs + organization: Networking + scm_type: git + scm_url: https://github.com/nleiva/ansible-net-modules + update_project: yes + wait: yes + +controller_inventories: + - name: Network Inventory + organization: Networking + +controller_inventory_sources: + - name: DevNet always-on sandboxes + source: scm + inventory: Network Inventory + overwrite: true + source_project: Network Golden Configs + source_path: hosts + +controller_templates: + - name: NETWORK / Configuration + organization: Networking + inventory: Network Inventory + survey_enabled: true + project: Network Golden Configs + playbook: main.yml + ask_limit_on_launch: true + survey: + name: '' + description: '' + spec: + - question_name: What resource would you like to configure? + type: multiplechoice + variable: rm + required: true + choices: + - acls + - banner + - bgp_global + - hostname + - l3_interface + - logging + - ntp + - ospfv2 + - prefix_lists + - snmp + - user