From 334a21c466124ff958526adbb6e2df605a460fc4 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Wed, 26 Feb 2020 14:24:06 -0600 Subject: [PATCH 1/4] ITOPSENG-436 try tagging things that shouldn't run on stack updates --- aws_confluence_dc_node.yml | 2 ++ roles/confluence_config/tasks/main.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aws_confluence_dc_node.yml b/aws_confluence_dc_node.yml index ce6c06e..046657c 100644 --- a/aws_confluence_dc_node.yml +++ b/aws_confluence_dc_node.yml @@ -17,7 +17,9 @@ - role: aws_shared_fs_config - role: product_common - role: product_install + tags: [skip_on_stack_update] - role: database_init + tags: [skip_on_stack_update] - role: restore_backups - role: confluence_common - role: confluence_config diff --git a/roles/confluence_config/tasks/main.yml b/roles/confluence_config/tasks/main.yml index ff58aff..887324e 100644 --- a/roles/confluence_config/tasks/main.yml +++ b/roles/confluence_config/tasks/main.yml @@ -113,4 +113,6 @@ - atl_proxy_name is defined - atl_tomcat_scheme is defined - db_created is undefined or not db_created.changed + tags: + - skip_on_stack_update ignore_errors: yes # For Molecule as it has no db test framework included From 6078b84bd50f712cc119e9d74616d5b280999ce1 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Mon, 2 Mar 2020 14:50:49 -0600 Subject: [PATCH 2/4] extend to Jira DC --- aws_jira_dc_node.yml | 2 ++ roles/jira_config/tasks/main.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aws_jira_dc_node.yml b/aws_jira_dc_node.yml index be81d83..a994279 100644 --- a/aws_jira_dc_node.yml +++ b/aws_jira_dc_node.yml @@ -24,7 +24,9 @@ - role: aws_shared_fs_config - role: product_common - role: product_install + tags: [skip_on_stack_update] - role: database_init + tags: [skip_on_stack_update] - role: restore_backups - role: jira_config - role: product_startup diff --git a/roles/jira_config/tasks/main.yml b/roles/jira_config/tasks/main.yml index 7d58529..5064f5d 100644 --- a/roles/jira_config/tasks/main.yml +++ b/roles/jira_config/tasks/main.yml @@ -115,4 +115,6 @@ - atl_proxy_name is defined - atl_tomcat_scheme is defined - db_created is undefined or not db_created.changed + tags: + - skip_on_stack_update ignore_errors: yes # For Molecule as it has no db test framework included From 706e0be7e2727e43176784f1b0eceff339e0b79e Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Wed, 4 Mar 2020 15:53:56 -0600 Subject: [PATCH 3/4] extend to Crowd DC --- aws_crowd_dc_node.yml | 2 ++ roles/crowd_config/tasks/main.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aws_crowd_dc_node.yml b/aws_crowd_dc_node.yml index 9259979..d08a0d6 100644 --- a/aws_crowd_dc_node.yml +++ b/aws_crowd_dc_node.yml @@ -16,6 +16,8 @@ - role: aws_shared_fs_config - role: product_common - role: product_install + tags: [skip_on_stack_update] - role: database_init + tags: [skip_on_stack_update] - role: crowd_config - role: product_startup diff --git a/roles/crowd_config/tasks/main.yml b/roles/crowd_config/tasks/main.yml index ec3c9b9..d003ef8 100644 --- a/roles/crowd_config/tasks/main.yml +++ b/roles/crowd_config/tasks/main.yml @@ -106,6 +106,8 @@ - atl_proxy_name is defined - atl_tomcat_scheme is defined - db_created is undefined or not db_created.changed + tags: + - skip_on_stack_update ignore_errors: yes # For Molecule as it has no db test framework included - name: Check that crowd.cfg.xml exists From 6cd325388cdf9d3606f7ab553ac29add626ca078 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Wed, 4 Mar 2020 15:54:06 -0600 Subject: [PATCH 4/4] extend to Synchrony --- aws_confluence_synchrony_node.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/aws_confluence_synchrony_node.yml b/aws_confluence_synchrony_node.yml index 3d13d85..b0fd8f2 100644 --- a/aws_confluence_synchrony_node.yml +++ b/aws_confluence_synchrony_node.yml @@ -23,6 +23,7 @@ - role: aws_shared_fs_config - role: product_common - role: product_install + tags: [skip_on_stack_update] - role: confluence_common - role: synchrony_config - role: product_startup