From c65394b60c389f2f642fceaeba7c1dbd41f5ee7f Mon Sep 17 00:00:00 2001 From: Ben Partridge Date: Wed, 8 Jan 2020 15:39:37 +1100 Subject: [PATCH] DCD-880: Remove ssm playbook from automation repo - it will go into services quick start --- ssm-documents/ATL-RunAutomationPlaybook.json | 38 -------------------- 1 file changed, 38 deletions(-) delete mode 100644 ssm-documents/ATL-RunAutomationPlaybook.json diff --git a/ssm-documents/ATL-RunAutomationPlaybook.json b/ssm-documents/ATL-RunAutomationPlaybook.json deleted file mode 100644 index 6e4e2c5..0000000 --- a/ssm-documents/ATL-RunAutomationPlaybook.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "schemaVersion": "2.2", - "description": "Use this document to run Ansible Playbooks from the atlassian deployment automation repo", - "parameters": { - "Playbook": { - "type": "String", - "description": "The Playbook file to run, relative to the repository root." - }, - "InvocationVariables": { - "type": "String", - "description": "Variables to apply to the playbook. See playbook documentation for details on required parameters.", - "displayType": "textarea", - "allowedPattern": "^$|^\\w+\\=[^\\s|:();&]+(\\s\\w+\\=[^\\s|:();&]+)*$" - }, - "executionTimeout": { - "type": "String", - "default": "14400", - "description": "(Optional) The time in seconds for a command to complete before it is considered to have failed. Default is 3600 (1 hour). Maximum is 172800 (48 hours).", - "allowedPattern": "([1-9][0-9]{0,4})|(1[0-6][0-9]{4})|(17[0-1][0-9]{3})|(172[0-7][0-9]{2})|(172800)" - } - }, - "mainSteps": [ - { - "action": "aws:runShellScript", - "name": "runShellScript", - "inputs": { - "runCommand": [ - "#!/bin/bash", - "cd /opt/atlassian/dc-deployments-automation", - "export PLAYBOOK_INVOCATION_EXTRA_PARAMS='{{InvocationVariables}}'", - "./bin/ansible-with-atl-env ./inv/aws_node_local aws_slingshot_backup.yml /var/log/ansible-slingshot.log" - ], - "workingDirectory": "{{ /opt/atlassian/dc-deployments-automation }}", - "timeoutSeconds": "{{ executionTimeout }}" - } - } - ] -} \ No newline at end of file