Commit Graph

56 Commits

Author SHA1 Message Date
Steve Smith
da54ce1889 Move db config to its own role. 2019-04-17 10:39:10 +10:00
Steve Smith
c267715e6e Add psycopg2 for Ansible Postgres support. 2019-04-17 10:37:23 +10:00
Steve Smith
0e499c59ae Add DB and application user 2019-04-17 09:55:00 +10:00
Steve Smith
dbae885fda Add some tagging to speed up some tests. 2019-04-16 16:26:15 +10:00
Steve Smith
b3e0f76143 Update AWS Jira playbook with latest roles. 2019-04-16 14:54:05 +10:00
Steve Smith
b5b73c09a1 Start of Jira preconfiguration. Just dbconfig.xml for now. 2019-04-16 14:34:38 +10:00
Steve Smith
a63b83fe1f Refactor to simplify directory layout and testing. 2019-04-16 10:52:18 +10:00
Steve Smith
e539cee393 Remove jira_config for now. 2019-04-16 09:37:15 +10:00
Steve Smith
3b1f344759 Add linux_common base to tests as AWS Linux needs extra packages. 2019-04-16 08:41:42 +10:00
Steve Smith
ae8c43586b Add unpacking of the downloaded tarball. 2019-04-15 16:13:51 +10:00
Steve Smith
89f27cec31 Move to using tgz rather than self-instller. 2019-04-15 15:50:57 +10:00
Steve Smith
cd0659f083 Correct installation dir. 2019-04-15 15:49:19 +10:00
Steve Smith
2196ca5176 Add some other common packages. 2019-04-15 15:49:02 +10:00
Steve Smith
654fb0d4e9 Move to using the product-downloads.atlassian.com CDN. 2019-04-15 14:48:22 +10:00
Steve Smith
a1292a4e68 Download locally rather than to the shared drive to avoid races. 2019-04-15 14:18:25 +10:00
Steve Smith
f9e617e504 Add fetching of the installer. 2019-04-15 13:06:41 +10:00
Steve Smith
69823c6535 Handle version override and reading any existing cached version 2019-04-15 11:35:41 +10:00
Steve Smith
d9af3f5509 Fetch the product 'latest' file when no version is specified. 2019-04-15 10:05:55 +10:00
Steve Smith
d1f951bab3 Rename product vars for clarity and create the shared home. 2019-04-11 15:19:57 +10:00
Steve Smith
8135041dee Fix ansible config file. 2019-04-11 14:18:04 +10:00
Steve Smith
ba97bc6877 Move EC2 metadata fetching to the role top-level. 2019-04-11 12:25:23 +10:00
Steve Smith
64f79f3641 Move EC2 metadata retrieval to aws_common 2019-04-11 12:02:41 +10:00
Steve Smith
c13e6ef416 Ensure ec2-utils is installed and add testing. 2019-04-11 11:23:15 +10:00
Steve Smith
1679b38bf3 Move Amazon-specific Postgres installation to product-common role. 2019-04-11 11:14:59 +10:00
Steve Smith
7fa7c1fd44 Add comment to global vars file. 2019-04-11 10:13:37 +10:00
Steve Smith
27ab11af21 Updates and fixes to jira_config from testing. 2019-04-10 10:27:23 +10:00
Steve Smith
33542f0079 Rename product_base to product_common for consistency. 2019-04-10 09:50:10 +10:00
Steve Smith
4cdf41f30d Ignore virtualenv dir. 2019-04-10 09:21:04 +10:00
Steve Smith
7a6705959c Fix to test 2019-04-10 09:11:49 +10:00
Steve Smith
989a6731dd Misc. minor cleanups. 2019-04-09 16:20:13 +10:00
Steve Smith
fa1ac8c7e6 REmove superseded aws_linux2_product_common role. 2019-04-09 16:19:44 +10:00
Steve Smith
892a212061 Generalise and expand testing of product base role. 2019-04-09 16:18:47 +10:00
Steve Smith
9b4975d588 Move to more distro-specific package installation. 2019-04-09 15:37:08 +10:00
Steve Smith
f44c761051 Rename linux-common to linux_common for consistency. 2019-04-09 15:31:20 +10:00
Steve Smith
7fa52df77b Generalise the AWS base package install role. 2019-04-09 15:30:42 +10:00
Steve Smith
627bdd6e6e New task for common package installs that is cross-distro. 2019-04-09 15:15:42 +10:00
Steve Smith
923f127584 Add some missing vars. 2019-04-09 13:50:13 +10:00
Steve Smith
2f9567072f Create varfile and add molecule test. 2019-04-09 12:21:53 +10:00
Steve Smith
9a1ef4e71b Var rename for clarity 2019-04-09 12:07:47 +10:00
Steve Smith
df2b45ef2f Tweaks to product_base and add molecule tests. 2019-04-09 11:41:32 +10:00
Steve Smith
249f1ceee5 Create mountpoint as part of mount enabling. 2019-04-08 14:23:35 +10:00
Steve Smith
bd377d32fa Add inventory file for SSH tunnel. 2019-04-08 14:18:19 +10:00
Steve Smith
efb4e805d4 Add optional logging of playbook output. 2019-04-08 10:26:12 +10:00
Steve Smith
5165a9a008 Add conversion of env-vars on startup. 2019-04-08 09:30:19 +10:00
Steve Smith
0e80ad6f66 Fix mountpoint creation and remove old task. 2019-04-01 15:43:56 +11:00
Steve Smith
db7af96370 Add fetching of EC2 metadata and generation of EFS mount from it. 2019-04-01 15:38:26 +11:00
Steve Smith
78ebbee04c Add wrapper script to import environment vars from file. 2019-04-01 14:48:06 +11:00
Steve Smith
c8a4b7c401 Refactor some names and add postgresql from extras. 2019-04-01 12:40:20 +11:00
Steve Smith
dbc4f1dc50 Add Postgres to base. 2019-04-01 12:19:46 +11:00
Steve Smith
baa5a9bde4 Add role for common product tasks. 2019-04-01 11:42:25 +11:00