Commit Graph

46 Commits

Author SHA1 Message Date
Lee Goolsbee
6151f01534 Merged in al2022 (pull request #187)
Add support for Amazon Linux 2022

* first pass at basic AL2022 support

* unpin git version on AL2022

* resolve a few package issues/discrepancies

* fix non-Amazon distro support

* fix missing nfs.service symlink on AL2022

* remove Ubuntu/Debian install task from aws_common (no existing ubuntu dependency tasks)

* add amazonlinux:2022 to list of images for testing via molecule

* install amazon-cloudwatch-agent from package sources instead of direct RPM on AL2022; add workaround for missing group

* fix typo in task name

* add mising amazonlinux:2022 test for product_install role

* al2022 -> al2023

* al2023 ships with rpm-installed versions of setuptools and distlib that aren't removable and older than what pipenv requires; use py3.11 instead


Approved-by: Vadym Kovalskiy
Approved-by: Eugene Ivantsov
Approved-by: Yurii Kuzan
2023-05-17 17:11:12 +00:00
Lee Goolsbee
10e6b3eefe move molecule dependency management to project-level config; disable molecule dependency management 2022-09-09 17:09:27 -05:00
Lee Goolsbee
b1c3516b30 ec2_tag -> ec2_tag_info 2022-09-09 17:09:27 -05:00
Lee Goolsbee
4d7b2c57f0 try a fix for the tests in pipelines; add collections cache 2022-09-09 17:09:27 -05:00
Lee Goolsbee
ac3f6f1f93 address a stack of linting warnings/errors and deprecations 2022-09-09 17:09:22 -05:00
Lee Goolsbee
694f1c2874 use collections; use FQCN for all tasks 2022-09-07 18:56:23 -05:00
Jun
35727b7cdc DCD-1462: Deprecate restore_backup role 2022-02-24 10:50:29 +11:00
Steve
c187f992f0 DCD-1205: Remove linting from molecule tests. It changed in v3, didnt't really help, and we ended up disabling it most of the time anyway. 2021-01-20 11:26:36 +11:00
Steve
253c5bd8e1 DCD-1205: Rename playbook.yml -> converge.yml for Molecule v3. 2021-01-20 11:09:32 +11:00
Steve Smith
b8d09dee65 DCD-930: Consolidate log definitions and forward audit logs to cloudwatch. 2020-02-04 09:02:52 +11:00
Varun Arbatti
18754fe2ab Merged in DCD-890-fix-variable-name-typo-in-write-tags (pull request #79)
DCD-890 fix variable name typo in write tags

* DCD-869: Change missing variable reference in write-tags

* DCD-869: Add commit and timestamp prefix to tags generated from ansible to be consistent with tags in templates

Approved-by: Steve Smith <ssmith@atlassian.com>
2020-01-31 00:16:51 +00:00
Varun Arbatti
bdfe5dc804 Merged in DCD-890-fix-variable-name-typo-in-write-tags (pull request #78)
DCD-869: Change missing variable reference in write-tags

Approved-by: Steve Smith <ssmith@atlassian.com>
2020-01-23 00:26:31 +00:00
Varun Arbatti
62816235da Merged in DCD-890-make-tags-consistent-with-qs-template (pull request #77)
DCD-890: Rename tag keys to make it consistent with tags exposed by quickstart templates

* DCD-890: Rename tag keys to make it consistent with tags exposed by quickstart templates

* DCD-869: Store restore tag in an array of one item to force type to a string

* DCD-869: Fix yaml lint

Approved-by: Steve Smith <ssmith@atlassian.com>
2020-01-22 22:52:26 +00:00
Steve Smith
079186225a DCD-890: Add whether we are a restore to the persisted tags. 2020-01-17 15:39:12 +11:00
Steve Smith
7a25e7a10c DCD-890: Older installs may not have DescribeTags perms. 2020-01-15 11:43:23 +11:00
Steve Smith
cf859874b3 DCD-890: Missed some tests. 2020-01-14 15:23:09 +11:00
Steve Smith
1bcd873ac4 DCD-890: Fixes from testing. 2020-01-14 13:18:04 +11:00
Steve Smith
f311337a16 DCD-890: Add setting the metadata on the local instance too. 2020-01-14 13:18:04 +11:00
Steve Smith
ce52f34742 DCD-890: Simplify tagging logic. 2020-01-14 13:18:04 +11:00
Steve Smith
590eca6aa5 DCD-890: Remove duplicate metadata lookup. 2020-01-14 13:18:04 +11:00
Steve Smith
4a520c1ec3 DCD-890: Add ability to write some tags into the autoscaling-group. 2020-01-14 13:18:04 +11:00
Steve Smith
c4b524580d DCD-890: Start of ASG tag manipulation. 2020-01-14 13:18:04 +11:00
Steve Smith
510d152582 DCD-890: Ensure the awscli is available. 2020-01-14 13:17:31 +11:00
Steve Smith
66312f03ed Start the cloudwatch agent earlier in the deployment. 2020-01-10 12:17:34 +11:00
Varun Arbatti
0711c75dab Merged in DCD-697-additional-cw-logs (pull request #31)
DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds provisioning logs to a separarte log group. Adds a test to ensure provisioining logs exist

* DCD-697: Refers to files, not directory, for provisioning log groups

* DCD-697: Adds a comma between log groups

* DCD-697: Removes redundant comma between the 2 log groups

Approved-by: Steve Smith <ssmith@atlassian.com>
Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-10-11 05:04:22 +00:00
Steve Smith
edae211356 DCD-436: Use full cloudwatch name for clarity. 2019-09-13 12:01:47 +10:00
Steve Smith
011e718764 DCD-436: CloudWatch disabled by default for backwards compatibility. 2019-09-12 11:21:28 +10:00
Steve Smith
ee6df8f8a8 DCD-436: Add flag to disable CloudWatch completely. 2019-09-12 10:57:45 +10:00
Steve Smith
114c1d2e8e DCD-436: Add ability to disable log aggregation. 2019-09-11 14:59:00 +10:00
Steve Smith
f8358623d8 DCD-436: Fix systemd restart. 2019-09-11 13:22:52 +10:00
Steve Smith
e114fca732 DCD-436: Make log group unique. 2019-09-11 13:05:07 +10:00
Steve Smith
5a98350702 DCD-436: Enable/start CW agent. 2019-09-11 11:24:50 +10:00
Steve Smith
cca50a4d9d DCD-436: Install CloudWatch agent on AWS instances. 2019-09-10 12:31:17 +10:00
Steve Smith
9c29300c60 DCD-386: Molecule may not set the v4 address, so force it. 2019-06-11 01:12:46 +00:00
Steve Smith
da26edeefd DCD-352: Fix aws_common test. 2019-05-29 11:45:26 +10:00
Steve Smith
de9453b8ca DCD-352: Move some vars shared by Confluence and Synchrony to a confluence_common role. 2019-05-28 13:35:36 +10:00
Steve Smith
405358eceb DCD-367: Use notest tag rather than checking the vendor as it can sometimes be undefined. 2019-05-23 14:53:25 +10:00
Steve Smith
f02990bdd4 DCD-224: Fix up some tests after refactoring. 2019-05-03 15:48:26 +10:00
Steve Smith
6b80d167b2 DCD-224: Fix order of fetching/using metadata. 2019-04-23 12:07:54 +10:00
Steve Smith
15ce955c2e DCD-224: Add Jira cluster config. 2019-04-18 13:38:07 +10:00
Steve Smith
121c630034 DCD-224: Use import_tasks rather than deprecated import. 2019-04-17 12:05:02 +10:00
Steve Smith
ab00c1f9bd DCD-224: Move EC2 metadata fetching to the role top-level. 2019-04-11 12:25:23 +10:00
Steve Smith
1651b7b3ee DCD-224: Move EC2 metadata retrieval to aws_common 2019-04-11 12:02:41 +10:00
Steve Smith
bc893a0a2e DCD-224: Ensure ec2-utils is installed and add testing. 2019-04-11 11:23:15 +10:00
Steve Smith
fe0e85b17e DCD-224: Move Amazon-specific Postgres installation to product-common role. 2019-04-11 11:14:59 +10:00
Steve Smith
89eb8817d7 DCD-224: Generalise the AWS base package install role. 2019-04-09 15:30:42 +10:00