From 5eefa1e2f03dbaa744b9c7933c938e725a8ea96d Mon Sep 17 00:00:00 2001 From: abikouo Date: Mon, 20 Nov 2023 13:19:37 +0100 Subject: [PATCH] Generate release using standard workflow --- CHANGELOG.rst | 83 +++++++++ changelogs/changelog.yaml | 175 ++++++++++++++++++ changelogs/fragments/2.0.0.yml | 2 - .../20230426-update_readme_and_runtime.yml | 2 - .../20230804-backup-role-bugfixes.yaml | 5 - .../20230817-update_for_controller.yml | 4 - .../fragments/20230821-upload_file_to_s3.yaml | 3 - .../fragments/20230822-docs_and_bugfixes.yml | 17 -- ...20230823-update-ci-sanity-test-matrix.yaml | 3 - .../fragments/add_deploy_flask_app_role.yaml | 17 -- changelogs/fragments/ansible_lint_6_19.yml | 32 ---- changelogs/fragments/ansible_lint_updates.yml | 5 - .../automation_hub_update_readme.yaml | 3 - .../aws_setup_credentials_add_no_log.yml | 3 - changelogs/fragments/awsconfig_apigateway.yml | 3 - .../create_rds_global_cluster_role.yml | 3 - .../fragments/customized_ami_doc_update.yaml | 3 - ...ix_manage_vpc_peering_integration_test.yml | 3 - changelogs/fragments/fix_sanity_issues.yaml | 3 - .../fragments/transit_gateway_doc_update.yaml | 3 - .../fragments/update_ansible_lint_action.yml | 2 - changelogs/fragments/webapp_in_HA.yaml | 3 - 22 files changed, 258 insertions(+), 119 deletions(-) delete mode 100644 changelogs/fragments/2.0.0.yml delete mode 100644 changelogs/fragments/20230426-update_readme_and_runtime.yml delete mode 100644 changelogs/fragments/20230804-backup-role-bugfixes.yaml delete mode 100644 changelogs/fragments/20230817-update_for_controller.yml delete mode 100644 changelogs/fragments/20230821-upload_file_to_s3.yaml delete mode 100644 changelogs/fragments/20230822-docs_and_bugfixes.yml delete mode 100644 changelogs/fragments/20230823-update-ci-sanity-test-matrix.yaml delete mode 100644 changelogs/fragments/add_deploy_flask_app_role.yaml delete mode 100644 changelogs/fragments/ansible_lint_6_19.yml delete mode 100644 changelogs/fragments/ansible_lint_updates.yml delete mode 100644 changelogs/fragments/automation_hub_update_readme.yaml delete mode 100644 changelogs/fragments/aws_setup_credentials_add_no_log.yml delete mode 100644 changelogs/fragments/awsconfig_apigateway.yml delete mode 100644 changelogs/fragments/create_rds_global_cluster_role.yml delete mode 100644 changelogs/fragments/customized_ami_doc_update.yaml delete mode 100644 changelogs/fragments/fix_manage_vpc_peering_integration_test.yml delete mode 100644 changelogs/fragments/fix_sanity_issues.yaml delete mode 100644 changelogs/fragments/transit_gateway_doc_update.yaml delete mode 100644 changelogs/fragments/update_ansible_lint_action.yml delete mode 100644 changelogs/fragments/webapp_in_HA.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4de6cb38..b172bffa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,89 @@ CHANGE THIS IN changelogs/config.yaml! Release Notes .. contents:: Topics +v2.0.0 +====== + +Release Summary +--------------- + +This release fixes bug on roles, remove support for ansible-core < 2.14 and introduces new features. + +Breaking Changes / Porting Guide +-------------------------------- + +- Remove support for ansible-core < 2.14 +- playbooks/webapp/deploy_flask_app - convert playbook to role (https://github.com/redhat-cop/cloud.aws_ops/pull/85). +- playbooks/webapp/migrate_webapp - replace variable name `do_not_delete_source` with `delete_source` to make intent clearer and fix reversed default value logic (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- playbooks/webapp/webapp - Rename the playbook vars with role name prefix. 'sshkey_pair_name' changed to 'deploy_flask_app_sshkey_pair_name' 'bastion_host_name' changed to 'deploy_flask_app_bastion_host_name' 'bastion_host_username' changed to 'deploy_flask_app_bastion_host_username' 'bastion_host_required_packages' changed to 'deploy_flask_app_bastion_host_required_packages' 'app_listening_port' changed to 'deploy_flask_app_listening_port' 'rds_master_user' changed to 'deploy_flask_app_rds_master_username' 'rds_master_password' changed to 'deploy_flask_app_rds_master_password' 'app_git_repository' changed to 'deploy_flask_app_git_repository' 'number_of_workers' changed to 'deploy_flask_app_number_of_workers' 'workers_instance_type' changed to 'deploy_flask_app_workers_instance_type' 'local_registry_user' changed to 'deploy_flask_app_local_registry_user' 'local_registry_pwd' changed to 'deploy_flask_app_local_registry_pwd' 'local_registry_port' changed to 'deploy_flask_app_local_registry_port' 'app_config' changed to 'deploy_flask_app_config' 'app_force_init' changed to 'deploy_flask_app_force_init' (https://github.com/redhat-cop/cloud.aws_ops/pull/85). +- role/aws_setup_credentials - Due to ansible-lint issue, the AWS generated credentials are now stored into variable `aws_setup_credentials__output` instead of `aws_role_credentials` (https://github.com/redhat-cop/cloud.aws_ops/pull/39). +- roles/awsconfig_multiregion_cloudtrail - ``bucket_name`` option has been renamed to ``awsconfig_multiregion_cloudtrail_bucket_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/awsconfig_multiregion_cloudtrail - ``key_prefix`` option has been renamed to ``awsconfig_multiregion_cloudtrail_key_prefix`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/awsconfig_multiregion_cloudtrail - ``operation`` option has been renamed to ``awsconfig_multiregion_cloudtrail_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/awsconfig_multiregion_cloudtrail - ``trail_name`` option has been renamed to ``awsconfig_multiregion_cloudtrail_trail_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``plan_name`` option has been renamed to ``backup_create_plan_plan_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``plan_rules`` option has been renamed to ``backup_create_plan_plan_rules`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``plan_tags`` option has been renamed to ``backup_create_plan_plan_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``plan_windows_vss_settings`` option has been renamed to ``backup_create_plan_plan_windows_vss_settings`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``vault_encryption_key_arn`` option has been renamed to ``backup_create_plan_vault_encryption_key_arn`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``vault_name`` option has been renamed to ``backup_create_plan_vault_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_create_plan - ``vault_tags`` option has been renamed to ``backup_create_planvault_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_select_resources - ``backup_role_name`` option has been renamed to ``backup_select_resources_backup_role_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_select_resources - ``plan_name`` option has been renamed to ``backup_select_resources_plan_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_select_resources - ``selection_conditions`` option has been renamed to ``backup_select_resources_selection_conditions`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_select_resources - ``selection_name`` option has been renamed to ``backup_select_resources_selection_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/backup_select_resources - ``selection_tags`` option has been renamed to ``backup_select_resources_selection_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``custom_ami_name`` option has been renamed to ``customized_ami_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``custom_ami_operation`` option has been renamed to ``customized_ami_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``custom_ami_packages`` option has been renamed to ``customized_ami_packages`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``custom_ami_recreate_if_exists`` option has been renamed to ``customized_ami_recreate_if_exists`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``source_ami_filters`` option has been renamed to ``customized_ami_source_ami_filters`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``source_ami_image_id`` option has been renamed to ``customized_ami_source_ami_image_id`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/customized_ami - ``source_ami_user_name`` option has been renamed to ``customized_ami_source_ami_user_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/ec2_instance_terminate_by_tag - ``tag_key_to_terminate_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_tag_key_to_terminate_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/ec2_instance_terminate_by_tag - ``tag_value_to_terminate_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_tag_value_to_terminate_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/ec2_instance_terminate_by_tag - ``terminate_protected_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_terminate_protected_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/manage_transit_gateway - ``action`` option has been renamed to `` manage_transit_gateway_action`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/manage_transit_gateway - ``transit_gateway`` option has been renamed to `` manage_transit_gateway_transit_gateway`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/manage_transit_gateway - ``vpc_attachment`` option has been renamed to `` manage_transit_gateway_vpc_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). +- roles/manage_transit_gateway - ``vpn_attachment`` option has been renamed to `` manage_transit_gateway_vpn_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + +Minor Changes +------------- + +- Add a playbook to deploy a simple flask web app into high availability architecture (https://github.com/redhat-cop/cloud.aws_ops/pull/97). +- awsconfig_apigateway_with_lambda_integration - new role to create API gateway with Lambda integration +- create_rds_global_cluster - new role to create aurora global cluster with a primary and a replica cluster in different regions. +- playbooks/upload_file_to_s3 - A playbook to upload file from local filesystem into S3 bucket (https://github.com/redhat-cop/cloud.aws_ops/pull/88). + +Bugfixes +-------- + +- fix and update integration tests target test_manage_vpc_peering (https://github.com/redhat-cop/cloud.aws_ops/pull/61). +- playbooks/webapp/webapp - Update playbooks that include credentials to be able to be used with Automation Controller (not just the command line) (https://github.com/redhat-cop/cloud.aws_ops/pull/64). +- playbooks/webapp/webapp - update RDS engine from deprecated version (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- playbooks/webapp/webapp - update webapp create task to use provided variables instead of hard-coding values in some places (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- roles/aws_manage_cloudtrail_encryption - fix condition logic to match expected Cloudtrail events and add extra_vars to pass rulebook variables to playbooks called in actions (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- roles/aws_restore_cloudtrail - provide `key_prefix` default so it doesn't error if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- roles/aws_restore_kms_key - fix conditional value to properly retrieve KMS key ARN from ansible-rulebook event variable (https://github.com/redhat-cop/cloud.aws_ops/pull/86). +- roles/aws_setup_credentials - add no_log to prevent credentials leak (https://github.com/redhat-cop/cloud.aws_ops/pull/92). +- roles/backup_select_resources - Add all necessary IAM service role policies for backup when creating a new IAM role (https://github.com/redhat-cop/cloud.aws_ops/pull/81). +- roles/enable_cloudtrail_encryption_with_kms - fix incorrect fact name for retrieved trail info and provide `s3_key_prefix` default so it doesn't error if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + +New Roles +--------- + +- awsconfig_apigateway_with_lambda_integration - A role to create/delete an API gateway with lambda function integration. +- backup_create_plan - A role to create a backup plan and optionally a vault. +- backup_select_resources - A role to configure backups for selected resources. +- clone_on_prem_vm - A role to clone an existing on prem VM using the KVM hypervisor. +- create_rds_global_cluster - A role to create an Amazon Aurora global cluster with two different region rds clusters. +- deploy_flask_app - Deploy flask app in AWS. +- import_image_and_run_aws_instance - A role that imports a local .raw image into an Amazon Machine Image (AMI) and run an AWS EC2 instance. +- manage_transit_gateway - Creation/Deletion of transit gateway with vpc/vpn attachment +- manage_vpc_peering - A role to create, delete and accept existing VPC peering connections. +- move_objects_between_buckets - A role to move objects from one S3 Bucket to another. + v1.0.3 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 400dba77..1c82d967 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -23,3 +23,178 @@ releases: fragments: - summary.yml release_date: '2023-03-17' + 2.0.0: + changes: + breaking_changes: + - Remove support for ansible-core < 2.14 + - playbooks/webapp/deploy_flask_app - convert playbook to role (https://github.com/redhat-cop/cloud.aws_ops/pull/85). + - playbooks/webapp/migrate_webapp - replace variable name `do_not_delete_source` + with `delete_source` to make intent clearer and fix reversed default value + logic (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - playbooks/webapp/webapp - Rename the playbook vars with role name prefix. + 'sshkey_pair_name' changed to 'deploy_flask_app_sshkey_pair_name' 'bastion_host_name' + changed to 'deploy_flask_app_bastion_host_name' 'bastion_host_username' changed + to 'deploy_flask_app_bastion_host_username' 'bastion_host_required_packages' + changed to 'deploy_flask_app_bastion_host_required_packages' 'app_listening_port' + changed to 'deploy_flask_app_listening_port' 'rds_master_user' changed to + 'deploy_flask_app_rds_master_username' 'rds_master_password' changed to 'deploy_flask_app_rds_master_password' + 'app_git_repository' changed to 'deploy_flask_app_git_repository' 'number_of_workers' + changed to 'deploy_flask_app_number_of_workers' 'workers_instance_type' changed + to 'deploy_flask_app_workers_instance_type' 'local_registry_user' changed + to 'deploy_flask_app_local_registry_user' 'local_registry_pwd' changed to + 'deploy_flask_app_local_registry_pwd' 'local_registry_port' changed to 'deploy_flask_app_local_registry_port' + 'app_config' changed to 'deploy_flask_app_config' 'app_force_init' changed + to 'deploy_flask_app_force_init' (https://github.com/redhat-cop/cloud.aws_ops/pull/85). + - role/aws_setup_credentials - Due to ansible-lint issue, the AWS generated + credentials are now stored into variable `aws_setup_credentials__output` instead + of `aws_role_credentials` (https://github.com/redhat-cop/cloud.aws_ops/pull/39). + - roles/awsconfig_multiregion_cloudtrail - ``bucket_name`` option has been renamed + to ``awsconfig_multiregion_cloudtrail_bucket_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/awsconfig_multiregion_cloudtrail - ``key_prefix`` option has been renamed + to ``awsconfig_multiregion_cloudtrail_key_prefix`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/awsconfig_multiregion_cloudtrail - ``operation`` option has been renamed + to ``awsconfig_multiregion_cloudtrail_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/awsconfig_multiregion_cloudtrail - ``trail_name`` option has been renamed + to ``awsconfig_multiregion_cloudtrail_trail_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``plan_name`` option has been renamed to ``backup_create_plan_plan_name`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``plan_rules`` option has been renamed to ``backup_create_plan_plan_rules`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``plan_tags`` option has been renamed to ``backup_create_plan_plan_tags`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``plan_windows_vss_settings`` option has been renamed + to ``backup_create_plan_plan_windows_vss_settings`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``vault_encryption_key_arn`` option has been renamed + to ``backup_create_plan_vault_encryption_key_arn`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``vault_name`` option has been renamed to ``backup_create_plan_vault_name`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_create_plan - ``vault_tags`` option has been renamed to ``backup_create_planvault_tags`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_select_resources - ``backup_role_name`` option has been renamed + to ``backup_select_resources_backup_role_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_select_resources - ``plan_name`` option has been renamed to ``backup_select_resources_plan_name`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_select_resources - ``selection_conditions`` option has been renamed + to ``backup_select_resources_selection_conditions`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_select_resources - ``selection_name`` option has been renamed + to ``backup_select_resources_selection_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/backup_select_resources - ``selection_tags`` option has been renamed + to ``backup_select_resources_selection_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``custom_ami_name`` option has been renamed to ``customized_ami_name`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``custom_ami_operation`` option has been renamed to + ``customized_ami_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``custom_ami_packages`` option has been renamed to + ``customized_ami_packages`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``custom_ami_recreate_if_exists`` option has been renamed + to ``customized_ami_recreate_if_exists`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``source_ami_filters`` option has been renamed to ``customized_ami_source_ami_filters`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``source_ami_image_id`` option has been renamed to + ``customized_ami_source_ami_image_id`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/customized_ami - ``source_ami_user_name`` option has been renamed to + ``customized_ami_source_ami_user_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/ec2_instance_terminate_by_tag - ``tag_key_to_terminate_instances`` option + has been renamed to `` ec2_instance_terminate_by_tag_tag_key_to_terminate_instances`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/ec2_instance_terminate_by_tag - ``tag_value_to_terminate_instances`` + option has been renamed to `` ec2_instance_terminate_by_tag_tag_value_to_terminate_instances`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/ec2_instance_terminate_by_tag - ``terminate_protected_instances`` option + has been renamed to `` ec2_instance_terminate_by_tag_terminate_protected_instances`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/manage_transit_gateway - ``action`` option has been renamed to `` manage_transit_gateway_action`` + (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/manage_transit_gateway - ``transit_gateway`` option has been renamed + to `` manage_transit_gateway_transit_gateway`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/manage_transit_gateway - ``vpc_attachment`` option has been renamed + to `` manage_transit_gateway_vpc_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + - roles/manage_transit_gateway - ``vpn_attachment`` option has been renamed + to `` manage_transit_gateway_vpn_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). + bugfixes: + - fix and update integration tests target test_manage_vpc_peering (https://github.com/redhat-cop/cloud.aws_ops/pull/61). + - playbooks/webapp/webapp - Update playbooks that include credentials to be + able to be used with Automation Controller (not just the command line) (https://github.com/redhat-cop/cloud.aws_ops/pull/64). + - playbooks/webapp/webapp - update RDS engine from deprecated version (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - playbooks/webapp/webapp - update webapp create task to use provided variables + instead of hard-coding values in some places (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - roles/aws_manage_cloudtrail_encryption - fix condition logic to match expected + Cloudtrail events and add extra_vars to pass rulebook variables to playbooks + called in actions (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - roles/aws_restore_cloudtrail - provide `key_prefix` default so it doesn't + error if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - roles/aws_restore_kms_key - fix conditional value to properly retrieve KMS + key ARN from ansible-rulebook event variable (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + - roles/aws_setup_credentials - add no_log to prevent credentials leak (https://github.com/redhat-cop/cloud.aws_ops/pull/92). + - roles/backup_select_resources - Add all necessary IAM service role policies + for backup when creating a new IAM role (https://github.com/redhat-cop/cloud.aws_ops/pull/81). + - roles/enable_cloudtrail_encryption_with_kms - fix incorrect fact name for + retrieved trail info and provide `s3_key_prefix` default so it doesn't error + if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). + minor_changes: + - Add a playbook to deploy a simple flask web app into high availability architecture + (https://github.com/redhat-cop/cloud.aws_ops/pull/97). + - awsconfig_apigateway_with_lambda_integration - new role to create API gateway + with Lambda integration + - create_rds_global_cluster - new role to create aurora global cluster with + a primary and a replica cluster in different regions. + - playbooks/upload_file_to_s3 - A playbook to upload file from local filesystem + into S3 bucket (https://github.com/redhat-cop/cloud.aws_ops/pull/88). + release_summary: This release fixes bug on roles, remove support for ansible-core + < 2.14 and introduces new features. + fragments: + - 2.0.0.yml + - 20230426-update_readme_and_runtime.yml + - 20230804-backup-role-bugfixes.yaml + - 20230817-update_for_controller.yml + - 20230821-upload_file_to_s3.yaml + - 20230822-docs_and_bugfixes.yml + - 20230823-update-ci-sanity-test-matrix.yaml + - add_deploy_flask_app_role.yaml + - ansible_lint_6_19.yml + - ansible_lint_updates.yml + - automation_hub_update_readme.yaml + - aws_setup_credentials_add_no_log.yml + - awsconfig_apigateway.yml + - create_rds_global_cluster_role.yml + - customized_ami_doc_update.yaml + - fix_manage_vpc_peering_integration_test.yml + - fix_sanity_issues.yaml + - transit_gateway_doc_update.yaml + - update_ansible_lint_action.yml + - webapp_in_HA.yaml + objects: + role: + - description: A role to create/delete an API gateway with lambda function integration. + name: awsconfig_apigateway_with_lambda_integration + namespace: null + - description: A role to create a backup plan and optionally a vault. + name: backup_create_plan + namespace: null + - description: A role to configure backups for selected resources. + name: backup_select_resources + namespace: null + - description: A role to clone an existing on prem VM using the KVM hypervisor. + name: clone_on_prem_vm + namespace: null + - description: A role to create an Amazon Aurora global cluster with two different + region rds clusters. + name: create_rds_global_cluster + namespace: null + - description: Deploy flask app in AWS. + name: deploy_flask_app + namespace: null + - description: A role that imports a local .raw image into an Amazon Machine + Image (AMI) and run an AWS EC2 instance. + name: import_image_and_run_aws_instance + namespace: null + - description: Creation/Deletion of transit gateway with vpc/vpn attachment + name: manage_transit_gateway + namespace: null + - description: A role to create, delete and accept existing VPC peering connections. + name: manage_vpc_peering + namespace: null + - description: A role to move objects from one S3 Bucket to another. + name: move_objects_between_buckets + namespace: null + release_date: '2023-11-20' diff --git a/changelogs/fragments/2.0.0.yml b/changelogs/fragments/2.0.0.yml deleted file mode 100644 index 06a759e0..00000000 --- a/changelogs/fragments/2.0.0.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -release_summary: "This release fixes bug on roles, remove support for ansible-core < 2.14 and introduces new features." diff --git a/changelogs/fragments/20230426-update_readme_and_runtime.yml b/changelogs/fragments/20230426-update_readme_and_runtime.yml deleted file mode 100644 index dd24677b..00000000 --- a/changelogs/fragments/20230426-update_readme_and_runtime.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Update README.md and meta/runtime.yml to reflect our ansible core testing versions." diff --git a/changelogs/fragments/20230804-backup-role-bugfixes.yaml b/changelogs/fragments/20230804-backup-role-bugfixes.yaml deleted file mode 100644 index 84a3c416..00000000 --- a/changelogs/fragments/20230804-backup-role-bugfixes.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -trivial: - - Update README in backup_create_plan role and backup_select_resources role (https://github.com/redhat-cop/cloud.aws_ops/pull/81). -bugfixes: - - roles/backup_select_resources - Add all necessary IAM service role policies for backup when creating a new IAM role (https://github.com/redhat-cop/cloud.aws_ops/pull/81). diff --git a/changelogs/fragments/20230817-update_for_controller.yml b/changelogs/fragments/20230817-update_for_controller.yml deleted file mode 100644 index 5b2a4519..00000000 --- a/changelogs/fragments/20230817-update_for_controller.yml +++ /dev/null @@ -1,4 +0,0 @@ -trivial: - - "Update playbooks that include credentials to be able to be used with Automation Controller (not just the command line)" -bugfixes: - - playbooks/webapp/webapp - Update playbooks that include credentials to be able to be used with Automation Controller (not just the command line) (https://github.com/redhat-cop/cloud.aws_ops/pull/64). diff --git a/changelogs/fragments/20230821-upload_file_to_s3.yaml b/changelogs/fragments/20230821-upload_file_to_s3.yaml deleted file mode 100644 index e64b33c9..00000000 --- a/changelogs/fragments/20230821-upload_file_to_s3.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - playbooks/upload_file_to_s3 - A playbook to upload file from local filesystem into S3 bucket (https://github.com/redhat-cop/cloud.aws_ops/pull/88). diff --git a/changelogs/fragments/20230822-docs_and_bugfixes.yml b/changelogs/fragments/20230822-docs_and_bugfixes.yml deleted file mode 100644 index f012a3d6..00000000 --- a/changelogs/fragments/20230822-docs_and_bugfixes.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -breaking_changes: - - playbooks/webapp/migrate_webapp - replace variable name `do_not_delete_source` with `delete_source` to make intent clearer and fix reversed default value logic (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - -bugfixes: - - roles/aws_restore_cloudtrail - provide `key_prefix` default so it doesn't error if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - roles/aws_restore_kms_key - fix conditional value to properly retrieve KMS key ARN from ansible-rulebook event variable (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - playbooks/webapp/webapp - update webapp create task to use provided variables instead of hard-coding values in some places (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - playbooks/webapp/webapp - update RDS engine from deprecated version (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - roles/enable_cloudtrail_encryption_with_kms - fix incorrect fact name for retrieved trail info and provide `s3_key_prefix` default so it doesn't error if not present (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - roles/aws_manage_cloudtrail_encryption - fix condition logic to match expected Cloudtrail events and add extra_vars to pass rulebook variables to playbooks called in actions (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - -trivial: - - Move EDA rulebook to recommended extensions/eda/rulebooks folder (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - Move EDA playbooks to top-level playbooks directory so they can be called from ansible-rulebook by FQCN (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - Add documentation for playbooks and rulebooks (https://github.com/redhat-cop/cloud.aws_ops/pull/86). - - Add AWS account permissions to enable_cloudtrail_encryption_with_kms role README (https://github.com/redhat-cop/cloud.aws_ops/pull/86). diff --git a/changelogs/fragments/20230823-update-ci-sanity-test-matrix.yaml b/changelogs/fragments/20230823-update-ci-sanity-test-matrix.yaml deleted file mode 100644 index 42e228c3..00000000 --- a/changelogs/fragments/20230823-update-ci-sanity-test-matrix.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add milestone/python 3.9 to the sanity test exclude matrix since 3.9 is no longer supported in milestone (https://github.com/redhat-cop/cloud.aws_ops/pull/89). diff --git a/changelogs/fragments/add_deploy_flask_app_role.yaml b/changelogs/fragments/add_deploy_flask_app_role.yaml deleted file mode 100644 index 04bb729c..00000000 --- a/changelogs/fragments/add_deploy_flask_app_role.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -breaking_changes: -- playbooks/webapp/deploy_flask_app - convert playbook to role (https://github.com/redhat-cop/cloud.aws_ops/pull/85). -- playbooks/webapp/webapp - Rename the playbook vars with role name prefix. - 'sshkey_pair_name' changed to 'deploy_flask_app_sshkey_pair_name' 'bastion_host_name' - changed to 'deploy_flask_app_bastion_host_name' 'bastion_host_username' changed - to 'deploy_flask_app_bastion_host_username' 'bastion_host_required_packages' - changed to 'deploy_flask_app_bastion_host_required_packages' 'app_listening_port' - changed to 'deploy_flask_app_listening_port' 'rds_master_user' changed to - 'deploy_flask_app_rds_master_username' 'rds_master_password' changed to 'deploy_flask_app_rds_master_password' - 'app_git_repository' changed to 'deploy_flask_app_git_repository' 'number_of_workers' - changed to 'deploy_flask_app_number_of_workers' 'workers_instance_type' changed - to 'deploy_flask_app_workers_instance_type' 'local_registry_user' changed - to 'deploy_flask_app_local_registry_user' 'local_registry_pwd' changed to - 'deploy_flask_app_local_registry_pwd' 'local_registry_port' changed to 'deploy_flask_app_local_registry_port' - 'app_config' changed to 'deploy_flask_app_config' 'app_force_init' changed - to 'deploy_flask_app_force_init' (https://github.com/redhat-cop/cloud.aws_ops/pull/85). diff --git a/changelogs/fragments/ansible_lint_6_19.yml b/changelogs/fragments/ansible_lint_6_19.yml deleted file mode 100644 index f0ca9d5e..00000000 --- a/changelogs/fragments/ansible_lint_6_19.yml +++ /dev/null @@ -1,32 +0,0 @@ -breaking_changes: - - Remove support for ansible-core < 2.14 - - roles/awsconfig_multiregion_cloudtrail - ``operation`` option has been renamed to ``awsconfig_multiregion_cloudtrail_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/awsconfig_multiregion_cloudtrail - ``bucket_name`` option has been renamed to ``awsconfig_multiregion_cloudtrail_bucket_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/awsconfig_multiregion_cloudtrail - ``key_prefix`` option has been renamed to ``awsconfig_multiregion_cloudtrail_key_prefix`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/awsconfig_multiregion_cloudtrail - ``trail_name`` option has been renamed to ``awsconfig_multiregion_cloudtrail_trail_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``plan_name`` option has been renamed to ``backup_create_plan_plan_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``plan_rules`` option has been renamed to ``backup_create_plan_plan_rules`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``plan_windows_vss_settings`` option has been renamed to ``backup_create_plan_plan_windows_vss_settings`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``plan_tags`` option has been renamed to ``backup_create_plan_plan_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``vault_name`` option has been renamed to ``backup_create_plan_vault_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``vault_encryption_key_arn`` option has been renamed to ``backup_create_plan_vault_encryption_key_arn`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_create_plan - ``vault_tags`` option has been renamed to ``backup_create_planvault_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_select_resources - ``plan_name`` option has been renamed to ``backup_select_resources_plan_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_select_resources - ``selection_name`` option has been renamed to ``backup_select_resources_selection_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_select_resources - ``selection_tags`` option has been renamed to ``backup_select_resources_selection_tags`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_select_resources - ``selection_conditions`` option has been renamed to ``backup_select_resources_selection_conditions`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/backup_select_resources - ``backup_role_name`` option has been renamed to ``backup_select_resources_backup_role_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``custom_ami_operation`` option has been renamed to ``customized_ami_operation`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``custom_ami_name`` option has been renamed to ``customized_ami_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``custom_ami_packages`` option has been renamed to ``customized_ami_packages`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``custom_ami_recreate_if_exists`` option has been renamed to ``customized_ami_recreate_if_exists`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``source_ami_filters`` option has been renamed to ``customized_ami_source_ami_filters`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``source_ami_image_id`` option has been renamed to ``customized_ami_source_ami_image_id`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/customized_ami - ``source_ami_user_name`` option has been renamed to ``customized_ami_source_ami_user_name`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/ec2_instance_terminate_by_tag - ``tag_key_to_terminate_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_tag_key_to_terminate_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/ec2_instance_terminate_by_tag - ``tag_value_to_terminate_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_tag_value_to_terminate_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/ec2_instance_terminate_by_tag - ``terminate_protected_instances`` option has been renamed to `` ec2_instance_terminate_by_tag_terminate_protected_instances`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/manage_transit_gateway - ``action`` option has been renamed to `` manage_transit_gateway_action`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/manage_transit_gateway - ``transit_gateway`` option has been renamed to `` manage_transit_gateway_transit_gateway`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/manage_transit_gateway - ``vpc_attachment`` option has been renamed to `` manage_transit_gateway_vpc_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). - - roles/manage_transit_gateway - ``vpn_attachment`` option has been renamed to `` manage_transit_gateway_vpn_attachment`` (https://github.com/redhat-cop/cloud.aws_ops/pull/84). diff --git a/changelogs/fragments/ansible_lint_updates.yml b/changelogs/fragments/ansible_lint_updates.yml deleted file mode 100644 index 7ebd971e..00000000 --- a/changelogs/fragments/ansible_lint_updates.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -trivial: - - "Add integration test workflow to GHA and add new integration tests targets (https://github.com/redhat-cop/cloud.aws_ops/pull/39)." -breaking_changes: - - role/aws_setup_credentials - Due to ansible-lint issue, the AWS generated credentials are now stored into variable `aws_setup_credentials__output` instead of `aws_role_credentials` (https://github.com/redhat-cop/cloud.aws_ops/pull/39). diff --git a/changelogs/fragments/automation_hub_update_readme.yaml b/changelogs/fragments/automation_hub_update_readme.yaml deleted file mode 100644 index 6405419c..00000000 --- a/changelogs/fragments/automation_hub_update_readme.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - "The validated content collections are now available in Automation Hub. Readme is updated with the steps to install the collection from AH." diff --git a/changelogs/fragments/aws_setup_credentials_add_no_log.yml b/changelogs/fragments/aws_setup_credentials_add_no_log.yml deleted file mode 100644 index df7c26cb..00000000 --- a/changelogs/fragments/aws_setup_credentials_add_no_log.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - roles/aws_setup_credentials - add no_log to prevent credentials leak (https://github.com/redhat-cop/cloud.aws_ops/pull/92). diff --git a/changelogs/fragments/awsconfig_apigateway.yml b/changelogs/fragments/awsconfig_apigateway.yml deleted file mode 100644 index 34c49bda..00000000 --- a/changelogs/fragments/awsconfig_apigateway.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - awsconfig_apigateway_with_lambda_integration - new role to create API gateway with Lambda integration diff --git a/changelogs/fragments/create_rds_global_cluster_role.yml b/changelogs/fragments/create_rds_global_cluster_role.yml deleted file mode 100644 index bb33813b..00000000 --- a/changelogs/fragments/create_rds_global_cluster_role.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - create_rds_global_cluster - new role to create aurora global cluster with a primary and a replica cluster in different regions. diff --git a/changelogs/fragments/customized_ami_doc_update.yaml b/changelogs/fragments/customized_ami_doc_update.yaml deleted file mode 100644 index 7771c97c..00000000 --- a/changelogs/fragments/customized_ami_doc_update.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - "Update README of customized_ami role with all the vars of the role" diff --git a/changelogs/fragments/fix_manage_vpc_peering_integration_test.yml b/changelogs/fragments/fix_manage_vpc_peering_integration_test.yml deleted file mode 100644 index 736bbfc3..00000000 --- a/changelogs/fragments/fix_manage_vpc_peering_integration_test.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - fix and update integration tests target test_manage_vpc_peering (https://github.com/redhat-cop/cloud.aws_ops/pull/61). diff --git a/changelogs/fragments/fix_sanity_issues.yaml b/changelogs/fragments/fix_sanity_issues.yaml deleted file mode 100644 index c58a229c..00000000 --- a/changelogs/fragments/fix_sanity_issues.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: -- "Add sanity test workflow to GHA and fix sanity issues (https://github.com/redhat-cop/cloud.aws_ops/pull/34)." diff --git a/changelogs/fragments/transit_gateway_doc_update.yaml b/changelogs/fragments/transit_gateway_doc_update.yaml deleted file mode 100644 index 26925b17..00000000 --- a/changelogs/fragments/transit_gateway_doc_update.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: -- "Update the README of manage_transit_gateway role to match the argument specs." diff --git a/changelogs/fragments/update_ansible_lint_action.yml b/changelogs/fragments/update_ansible_lint_action.yml deleted file mode 100644 index 8a03a3d8..00000000 --- a/changelogs/fragments/update_ansible_lint_action.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Use ansible/ansible-lint since ansible/ansible-lint-action has been archived." diff --git a/changelogs/fragments/webapp_in_HA.yaml b/changelogs/fragments/webapp_in_HA.yaml deleted file mode 100644 index 74cf75cb..00000000 --- a/changelogs/fragments/webapp_in_HA.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "Add a playbook to deploy a simple flask web app into high availability architecture (https://github.com/redhat-cop/cloud.aws_ops/pull/97)."