Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0.0 #5

Merged
merged 7 commits into from
Nov 6, 2023
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
6 changes: 6 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
profile: basic
quiet: false
verbosity: 1

exclude_paths:
- .cache/
- .github/
- test
- changelogs

enable_list:
- empty-string-compare
Expand All @@ -13,3 +18,4 @@ enable_list:
skip_list:
- package-latest
- yaml[line-length]
- var-naming[no-role-prefix]
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
repos:
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.17.2
rev: v6.21.1
hooks:
- id: ansible-lint
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.35.0
rev: v0.37.0
hooks:
- id: markdownlint
- repo: https://github.com/ansible-community/antsibull-changelog.git
rev: main
rev: 0.23.0
hooks:
- id: antsibull-changelog-lint
- id: antsibull-changelog-lint-changelog-yaml
27 changes: 24 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
===============================================
Azure.Infrastructure_Config_Demos Release Notes
===============================================
=========================================================
lab.azure.azure_infrastructure_config_demos Release Notes
=========================================================

.. contents:: Topics

This changelog describes changes after version 1.4.2.

v2.0.0
======

Release Summary
---------------

Updated the collection to match validated patterns.

Major Changes
-------------

- Moved playbooks into playbooks folder so that playbooks may be called from `namespace.collection.playbook` syntax.
- Updated Ansible Lint config.

Breaking Changes / Porting Guide
--------------------------------

- Playbook names have changed.
- Playbook paths have changed.
- Playbooks now reference role by FQRN.

v1.7.0
======

Expand Down
74 changes: 37 additions & 37 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 1.7.0
version: 5.0.0
14 changes: 14 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ releases:
Moved playbooks into playbooks folder and updated dependency
versions.
release_date: "2023-07-18"
2.0.0:
changes:
breaking_changes:
- Playbook names have changed.
- Playbook paths have changed.
- Playbooks now reference role by FQRN.
major_changes:
- Moved playbooks into playbooks folder so that playbooks may be called from
`namespace.collection.playbook` syntax.
- Updated Ansible Lint config.
release_summary: Updated the collection to match validated patterns.
fragments:
- version-2.yml
release_date: "2023-11-06"
2 changes: 1 addition & 1 deletion changelogs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ sections:
- Bugfixes
- - known_issues
- Known Issues
title: Azure.Infrastructure_Config_Demos
title: lab.azure.azure_infrastructure_config_demos
trivial_section_name: trivial
use_fqcn: true
10 changes: 5 additions & 5 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: azure
name: infrastructure_config_demos
version: 1.7.0
namespace: lab
name: azure_infrastructure_config_demos
version: 2.0.0
readme: README.md
authors:
- Scott Harwell <[email protected]>
Expand All @@ -11,9 +11,9 @@ tags:
- "cloud"
- "azure"
dependencies:
azure.azcollection: ">=1.16.0"
azure.azcollection: ">=1.18.1"
ansible.windows: ">=2.0.0"
community.general: ">=7.1.0"
community.general: ">=8.0.0"
repository: https://github.com/ansible-content-lab/azure.infrastructure_config_demos.git
documentation: https://github.com/ansible-content-lab/azure.infrastructure_config_demos.git
homepage: https://github.com/ansible-content-lab/azure.infrastructure_config_demos.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

- name: Create Peer Networking Model
ansible.builtin.import_role:
name: azure.infrastructure_config_demos.transit_peered_networks
name: lab.azure.azure_infrastructure_config_demos.transit_peered_networks
vars:
transit_peered_networks_operation: create

Expand All @@ -43,6 +43,6 @@
always:
- name: Delete Transit Network
ansible.builtin.import_role:
name: azure.infrastructure_config_demos.transit_peered_networks
name: lab.azure.azure_infrastructure_config_demos.transit_peered_networks
vars:
transit_peered_networks_operation: delete
2 changes: 1 addition & 1 deletion playbooks/create_log_analytics_workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@

- name: Deploy log analytics workspace
ansible.builtin.import_role:
name: log_analytics
name: lab.azure_infrastructure_config_demos.log_analytics
tasks_from: create_workspace
2 changes: 1 addition & 1 deletion playbooks/create_transit_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- name: Create Peer Networking Model
ansible.builtin.import_role:
name: transit_peered_networks
name: lab.azure_infrastructure_config_demos.transit_peered_networks
vars:
transit_peered_networks_operation: create

Expand Down
2 changes: 1 addition & 1 deletion playbooks/create_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@

- name: Create a VM
ansible.builtin.import_role:
name: vms
name: lab.azure_infrastructure_config_demos.vms
vars:
vms_operation: create
2 changes: 1 addition & 1 deletion playbooks/create_vnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

- name: Create a VNET
ansible.builtin.import_role:
name: vnet
name: lab.azure_infrastructure_config_demos.vnet
vars:
vnet_operation: create
2 changes: 1 addition & 1 deletion playbooks/delete_transit_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

- name: Delete Transit Networking Model
ansible.builtin.import_role:
name: transit_peered_networks
name: lab.azure_infrastructure_config_demos.transit_peered_networks
vars:
transit_peered_networks_operation: delete
2 changes: 1 addition & 1 deletion playbooks/delete_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

- name: Delete VM
ansible.builtin.import_role:
name: vms
name: lab.azure_infrastructure_config_demos.vms
vars:
vms_operation: delete
2 changes: 1 addition & 1 deletion playbooks/delete_vnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

- name: Delete VM
ansible.builtin.import_role:
name: vnet
name: lab.azure_infrastructure_config_demos.vnet
vars:
vnet_operation: delete
16 changes: 8 additions & 8 deletions playbooks/disable_arc_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: Disable Key Vault on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.azure_key_vault.name }}"
Expand All @@ -25,7 +25,7 @@

- name: Disable Hybrid Worker on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.azure_hybrid_runbook.name }}"
Expand All @@ -35,7 +35,7 @@

- name: Disable Azure Monitor on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.azure_monitor_agent.name }}"
Expand All @@ -45,7 +45,7 @@

- name: Disable Azure Monitor for VMs Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.azure_monitor_for_vms.name }}"
Expand All @@ -55,7 +55,7 @@

- name: Disable AD SSH Login on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.ad_ssh_login.name }}"
Expand All @@ -65,7 +65,7 @@

- name: Disable Custom Scripts on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.custom_script.name }}"
Expand All @@ -75,7 +75,7 @@

- name: Disable Azure Log Analytics on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.log_analytics_agent.name }}"
Expand All @@ -85,7 +85,7 @@

- name: Disable Microsoft Defender on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: disable_arc_extension
vars:
arc_name: "{{ extensions.microsoft_defender.name }}"
Expand Down
16 changes: 8 additions & 8 deletions playbooks/enable_arc_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

- name: Enable Key Vault on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.azure_key_vault.name }}"
Expand All @@ -31,7 +31,7 @@

- name: Enable Hybrid Worker on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.azure_hybrid_runbook.name }}"
Expand All @@ -41,7 +41,7 @@

- name: Enable Azure Monitor on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.azure_monitor_agent.name }}"
Expand All @@ -51,7 +51,7 @@

- name: Enable Azure Monitor for VMs Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.azure_monitor_for_vms.name }}"
Expand All @@ -61,7 +61,7 @@

- name: Enable AD SSH Login on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.ad_ssh_login.name }}"
Expand All @@ -71,7 +71,7 @@

- name: Enable Custom Scripts on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.custom_script.name }}"
Expand All @@ -81,7 +81,7 @@

- name: Enable Azure Log Analytics on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.log_analytics_agent.name }}"
Expand All @@ -91,7 +91,7 @@

- name: Enable Microsoft Defender on Linux
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: enable_arc_extension
vars:
arc_name: "{{ extensions.microsoft_defender.name }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/install_arc_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

- name: Install Arc Agent
ansible.builtin.import_role:
name: arc
name: lab.azure_infrastructure_config_demos.arc
tasks_from: install_agent
2 changes: 1 addition & 1 deletion playbooks/install_log_analytics_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tasks:
- name: Install log analytics agent
ansible.builtin.import_role:
name: log_analytics
name: lab.azure_infrastructure_config_demos.log_analytics
tasks_from: install_agent
vars:
log_analytics_workspace: "{{ workspace_name }}"
Expand Down
6 changes: 3 additions & 3 deletions playbooks/proxmox_vm_migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
tasks:
- name: Check if the converted image file already exists locally
ansible.builtin.import_role:
name: proxmox_vm_conversion
name: lab.azure_infrastructure_config_demos.proxmox_vm_conversion
tasks_from: local_vm_image_check
tags:
- proxmox
Expand All @@ -33,7 +33,7 @@
when: not hostvars['localhost'].proxmox_vm_migration_local_image_exists.stat.exists or
proxmox_vm_migration_run_if_local_image_exists
ansible.builtin.import_role:
name: proxmox_vm_conversion
name: lab.azure_infrastructure_config_demos.proxmox_vm_conversion
tags:
- proxmox

Expand All @@ -47,6 +47,6 @@
tasks:
- name: Run migrate local vm role
ansible.builtin.import_role:
name: vm_to_azure
name: lab.azure_infrastructure_config_demos.vm_to_azure
tags:
- azure
Loading