Skip to content

Commit

Permalink
Azure tags (#4)
Browse files Browse the repository at this point in the history
* Added azure tags to azure jobs

* Update pre-commit requirements

* Added changelog fragment

* Prep for release
  • Loading branch information
scottharwell authored Aug 8, 2023
1 parent ef97baf commit 3e9e315
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
hooks:
- id: markdownlint
- repo: https://github.com/ansible-community/antsibull-changelog.git
rev: main # this will change when the next release of antsible includes the pre-commit hooks
rev: 0.22.0 # this will change when the next release of antsible includes the pre-commit hooks
hooks:
- id: antsibull-changelog-lint
- id: antsibull-changelog-lint-changelog-yaml
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ Aoc.Controller_Demo_Config Release Notes

This changelog describes changes after version 3.0.0.

v4.1.1
======

Minor Changes
-------------

- Added azure tag to job templates.
- Bumped pre-commit tool versions.

v4.1.0
======

Expand Down
9 changes: 9 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,12 @@ releases:
fragments:
- 2-added-aws-content.yml
release_date: '2023-07-22'
4.1.1:
changes:
minor_changes:
- Added azure tag to job templates.
- Bumped pre-commit tool versions.
release_summary: Added azure tags to job templates.
fragments:
- 4-azure-tags.yml
release_date: '2023-08-08'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: aoc
name: controller_demo_config
version: 4.1.0
version: 4.1.1
authors:
- Scott Harwell <[email protected]>
description: A collection of content for setting up Ansible on Cloud demos rapidly.
Expand Down
18 changes: 18 additions & 0 deletions roles/controller/tasks/job_templates/content_lab_azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- inventories.localhost.name is defined
tags:
- templates
- azure

- name: Content Lab - Azure - Create VNET
ansible.controller.job_template:
Expand All @@ -41,6 +42,7 @@
- inventories.localhost.name is defined
tags:
- templates
- azure

- name: Content Lab - Azure - Create RHEL VM
ansible.controller.job_template:
Expand Down Expand Up @@ -76,6 +78,7 @@
register: create_rhel_vm_template
tags:
- templates
- azure

- name: Content Lab - Azure - Delete RHEL VM
ansible.controller.job_template:
Expand All @@ -99,6 +102,7 @@
register: delete_rhel_vm_template
tags:
- templates
- azure

- name: Content Lab - Azure - Create Windows Server VM
ansible.controller.job_template:
Expand Down Expand Up @@ -130,6 +134,7 @@
register: create_windows_vm_template
tags:
- templates
- azure

- name: Content Lab - Azure - Delete Windows VM
ansible.controller.job_template:
Expand All @@ -153,6 +158,7 @@
register: delete_windows_vm_template
tags:
- templates
- azure

- name: Content Lab - Azure - Delete Resource Group
ansible.controller.job_template:
Expand All @@ -173,6 +179,7 @@
register: delete_resource_group_template
tags:
- templates
- azure

- name: Content Lab - Azure - Create Network Peering Demo
ansible.controller.job_template:
Expand All @@ -198,6 +205,7 @@
register: create_network_peering_demo_template
tags:
- templates
- azure

- name: Content Lab - Azure - Delete Network Peering Demo
ansible.controller.job_template:
Expand All @@ -219,6 +227,7 @@
register: delete_network_peering_demo_template
tags:
- templates
- azure

- name: Content Lab - Azure - Run DNF Update
ansible.controller.job_template:
Expand All @@ -241,6 +250,7 @@
register: rhel_vm_update_template
tags:
- templates
- azure

- name: Content Lab - Azure - Install Arc Agent
ansible.controller.job_template:
Expand Down Expand Up @@ -272,6 +282,7 @@
register: install_arc_agent_template
tags:
- templates
- azure

- name: Content Lab - Azure - Enable Arc Extensions
ansible.controller.job_template:
Expand All @@ -295,6 +306,7 @@
register: enable_arc_extensions_template
tags:
- templates
- azure

- name: Content Lab - Azure - Disable Arc Extensions
ansible.controller.job_template:
Expand All @@ -318,6 +330,7 @@
register: disable_arc_extensions_template
tags:
- templates
- azure

- name: Content Lab - Azure - Replace Log Analytics with Azure Monitor
ansible.controller.job_template:
Expand All @@ -340,6 +353,7 @@
register: replace_log_analytics_with_azure_monitor_template
tags:
- templates
- azure

- name: Content Lab - Azure - Create Log Analytics Workspace
ansible.controller.job_template:
Expand All @@ -363,6 +377,7 @@
register: create_log_analytics_workspace_template
tags:
- templates
- azure

- name: Content Lab - Azure - Install Log Analytics Agent
ansible.controller.job_template:
Expand All @@ -389,6 +404,7 @@
register: install_log_analytics_agent_template
tags:
- templates
- azure

- name: Content Lab - Azure - Uninstall Log Analytics Agent
ansible.controller.job_template:
Expand All @@ -410,6 +426,7 @@
register: uninstall_log_analytics_agent_template
tags:
- templates
- azure

- name: Content Lab - Run Ephemeral Workload Test
ansible.controller.job_template:
Expand All @@ -435,3 +452,4 @@
register: ephemeral_workload_template
tags:
- templates
- azure

0 comments on commit 3e9e315

Please sign in to comment.