Skip to content

Instantly share code, notes, and snippets.

@gergnz
Created March 9, 2016 03:27
Show Gist options
  • Save gergnz/1da3d1937b94f2dae933 to your computer and use it in GitHub Desktop.
Save gergnz/1da3d1937b94f2dae933 to your computer and use it in GitHub Desktop.
PLAY [Movember - Build Environment Cloudformation Stack] ***********************
TASK [Check Required Variables] ************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/RequiredVars.yml for localhost
TASK [Fail If Required Variable 'stack_name' Is Not Defined] *******************
skipping: [localhost]
TASK [Fail If Required Variable 'development' Is Not Defined] ******************
skipping: [localhost]
TASK [Fail If Required Variable 'puppet' Is Not Defined] ***********************
skipping: [localhost]
TASK [Include Code Testing] ****************************************************
skipping: [localhost]
TASK [Assume Role For Specific Environment] ************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/AssumeRole.yml for localhost
TASK [Assume Role For Production Environment] **********************************
skipping: [localhost]
TASK [Assume Role For Testing Environment] *************************************
skipping: [localhost]
TASK [Assume Role For Common Environment] **************************************
skipping: [localhost]
TASK [Set Fact For Assume Role If In Production Account] ***********************
skipping: [localhost]
TASK [Set Fact For Assume Role If In Testing Account] **************************
skipping: [localhost]
TASK [Set Fact For Assume Role If In Common Account] ***************************
skipping: [localhost]
TASK [Development Mode - Set Assume Role From System Variables] ****************
ok: [localhost]
TASK [Build VPC And Subnet Stack Components] ***********************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/VpcSubnets.yml for localhost
TASK [include] *****************************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
skipping: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
changed: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build VPC and Subnets For Cloudformation Environment] ********************
ok: [localhost]
TASK [Setting Fact For VPC And Subnets] ****************************************
ok: [localhost]
TASK [Build Security Group Stack Components] ***********************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/SecurityGroups.yml for localhost
TASK [include] *****************************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
skipping: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
changed: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Security Groups For Cloudformation Environment] ********************
ok: [localhost]
TASK [Setting Fact For Security Groups] ****************************************
ok: [localhost]
TASK [Build Internal Domain] ***************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/InternalDomain.yml for localhost
TASK [include] *****************************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
skipping: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
changed: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Internal Domain] ***************************************************
ok: [localhost]
TASK [Setting Fact For InternalDomain] *****************************************
ok: [localhost]
TASK [Building SQS Queues In Parallel] *****************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/GroupBuild.yml for localhost
TASK [Set Facts For Run] *******************************************************
ok: [localhost]
TASK [Build Stack Componenets] *************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/Sqs.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/Sqs.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/Sqs.yml for localhost
TASK [Include SQS Variables From Environment File] *****************************
ok: [localhost]
TASK [Build SQS Componenet] ****************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build SQS Queue For Cloudformation Environment] **************************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Include SQS Variables From Environment File] *****************************
ok: [localhost]
TASK [Build SQS Componenet] ****************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build SQS Queue For Cloudformation Environment] **************************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Include SQS Variables From Environment File] *****************************
ok: [localhost]
TASK [Build SQS Componenet] ****************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build SQS Queue For Cloudformation Environment] **************************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Extend Results Hash] *****************************************************
ok: [localhost]
TASK [Wait For Tasks To Complete] **********************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Setting Data Parameter] **************************************************
ok: [localhost]
TASK [Modify RDS Monitoring] ***************************************************
skipping: [localhost] => (item=dailyemail)
skipping: [localhost] => (item=admin)
skipping: [localhost] => (item=donate)
TASK [Code Deploy Deployment Setup] ********************************************
skipping: [localhost] => (item=dailyemail)
skipping: [localhost] => (item=admin)
skipping: [localhost] => (item=donate)
TASK [Build NAT Gateways Stack Components] *************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/NatInstances.yml for localhost
TASK [Build NAT Instances Componenet] ******************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
skipping: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
changed: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Add Nat Instances For Cloudformation Environment] ************************
ok: [localhost]
TASK [Set Fact For Nat Instances] **********************************************
ok: [localhost]
TASK [Building Caching Clusters In Parallel] ***********************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/GroupBuild.yml for localhost
TASK [Set Facts For Run] *******************************************************
ok: [localhost]
TASK [Build Stack Componenets] *************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/CachingClusters.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/CachingClusters.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/CachingClusters.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/CachingClusters.yml for localhost
TASK [Include Caching Cluster Variables From Environment File] *****************
ok: [localhost]
TASK [Build Caching Cluster Componenet] ****************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Non-Persistent Storage For Cloudformation Environment] *************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Include Caching Cluster Variables From Environment File] *****************
ok: [localhost]
TASK [Build Caching Cluster Componenet] ****************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Non-Persistent Storage For Cloudformation Environment] *************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Include Caching Cluster Variables From Environment File] *****************
ok: [localhost]
TASK [Build Caching Cluster Componenet] ****************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Non-Persistent Storage For Cloudformation Environment] *************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Include Caching Cluster Variables From Environment File] *****************
ok: [localhost]
TASK [Build Caching Cluster Componenet] ****************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Non-Persistent Storage For Cloudformation Environment] *************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Extend Results Hash] *****************************************************
ok: [localhost]
TASK [Wait For Tasks To Complete] **********************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Waiting For Cloudformation Job To Complete] ******************************
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
ok: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
ok: [localhost]
TASK [Create New Results Hash] *************************************************
skipping: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Setting Data Parameter] **************************************************
ok: [localhost]
TASK [Modify RDS Monitoring] ***************************************************
skipping: [localhost] => (item=memcache)
skipping: [localhost] => (item=sessions)
skipping: [localhost] => (item=lead)
skipping: [localhost] => (item=misc)
TASK [Code Deploy Deployment Setup] ********************************************
skipping: [localhost] => (item=memcache)
skipping: [localhost] => (item=sessions)
skipping: [localhost] => (item=lead)
skipping: [localhost] => (item=misc)
TASK [Building RDS In Parallel] ************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/GroupBuild.yml for localhost
TASK [Set Facts For Run] *******************************************************
ok: [localhost]
TASK [Build Stack Componenets] *************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/Rds.yml for localhost
TASK [Include RDS Variables From Environment File] *****************************
ok: [localhost]
TASK [Build RDS Componenet] ****************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Build Database Storage For Cloudformation Environment] *******************
ok: [localhost]
TASK [Create Temporary Variable] ***********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results Hash] **********************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Extend Results Hash] *****************************************************
ok: [localhost]
TASK [Wait For Tasks To Complete] **********************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AsyncWait.yml for localhost
TASK [Waiting For Cloudformation Job To Complete] ******************************
FAILED - RETRYING: TASK: Waiting For Cloudformation Job To Complete (299 retries left). Result was: {u'ansible_job_id': u'188524523600.8654', u'started': 1, u'changed': False, u'finished': 0, u'results_file': u'/home/gregc/.ansible_async/188524523600.8654', 'invocation': {'module_name': u'async_status', u'module_args': {u'jid': u'188524523600.8654', u'mode': u'status'}}}
ok: [localhost]
TASK [Create Temporary Data Hash] **********************************************
skipping: [localhost]
TASK [Merge Temporary Hash Into Results] ***************************************
skipping: [localhost]
TASK [Create New Results Hash] *************************************************
ok: [localhost]
TASK [Cleanup Cloudformation Wait File] ****************************************
ok: [localhost]
TASK [Setting Data Parameter] **************************************************
ok: [localhost]
TASK [Modify RDS Monitoring] ***************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/RdsMonitoring.yml for localhost
TASK [Include RDS Variables From Environment File] *****************************
ok: [localhost]
TASK [Enable Enhanced Monitoring On RDS] ***************************************
skipping: [localhost]
TASK [Disable Enhanced Monitoring On RDS] **************************************
changed: [localhost]
TASK [Code Deploy Deployment Setup] ********************************************
skipping: [localhost] => (item=live)
TASK [Building RDS Read Replicas In Parallel] **********************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/GroupBuild.yml for localhost
TASK [Set Facts For Run] *******************************************************
ok: [localhost]
TASK [Build Stack Componenets] *************************************************
TASK [Extend Results Hash] *****************************************************
ok: [localhost]
TASK [Wait For Tasks To Complete] **********************************************
TASK [Setting Data Parameter] **************************************************
ok: [localhost]
TASK [Modify RDS Monitoring] ***************************************************
TASK [Code Deploy Deployment Setup] ********************************************
TASK [Building Auto Scaling Groups In Parallel] ********************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/GroupBuild.yml for localhost
TASK [Set Facts For Run] *******************************************************
ok: [localhost]
TASK [Build Stack Componenets] *************************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
included: /home/gregc/Scratch/dev/movember/ansible/tasks/parallel/AutoScalingGroups.yml for localhost
TASK [Include Auto Scaling Group Variables From Environment File] **************
ok: [localhost]
TASK [Build Auto Scaling Group Componenet] *************************************
included: /home/gregc/Scratch/dev/movember/ansible/tasks/BuildCfndsl.yml for localhost
TASK [Build Cloudformation Stacks Using CFNDSL With Include] *******************
changed: [localhost]
TASK [Build Cloudformation Stacks Using CFNDSL Without Include] ****************
skipping: [localhost]
TASK [Ensure Generated Cloudformation JSON Is Valid] ***************************
ok: [localhost]
TASK [Find Latest AMI For Auto Scaling Group] **********************************
ok: [localhost]
TASK [Check If Snapshot Find Results Are Valid] ********************************
skipping: [localhost]
TASK [Set Image Name] **********************************************************
ok: [localhost]
TASK [Build Auto Scaling Groups For Environment] *******************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object' has no attribute 'asgaccess'"}
PLAY RECAP *********************************************************************
localhost : ok=158 changed=14 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment