This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running instances: 1035 | |
AMIs in use: 3 | |
AMI ID Created Nodes Apps Applications Using This AMI | |
------------ ---------- ----- ---- --------------------------- | |
ami-0110b111 2019-02-21 980 5 appa, appb, appc, appd, appe | |
ami-01a1a110 2019-02-11 50 1 testc | |
ami-0a1a1010 2019-03-05 5 2 testa, testb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
vars: | |
aws_region: us-east-1 | |
vars_prompt: | |
- name: "new_ami" | |
prompt: "What is the new AMI id?" | |
private: no | |
tasks: | |
- debug: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline" : "echo '### Starting provisioner ###'" | |
}, | |
{ | |
"type": "shell", | |
"script": "scripts/setup.sh", | |
"pause_before": "3s" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"source_ami_filter": { | |
"filters": { | |
"virtualization-type": "hvm", | |
"name": "ubuntu/images/hvm-ssd/*ubuntu-bionic-18.04-amd64-server-*", | |
"root-device-type": "ebs" | |
}, | |
"owners": ["099720109477"], | |
"most_recent": true | |
} |