July 2017
Intermediate to advanced
402 pages
9h 38m
English
To illustrate the basic functionalities of Ansible, we are going to start by relaunching our Hello World application.
In the previous section, we saw how to create a stack using the web interface. As you would expect, it is also possible to launch a stack using the command-line interface.
Go into your EffectiveDevOpsTemplates folder where you previously generated the helloworld-cf-template-v2.template file and run the following command:
$ aws cloudformation create-stack \
--capabilities CAPABILITY_IAM \
--stack-name ansible \
--template-body file://helloworld-cf-template-v2.template \
--parameters ParameterKey=KeyPair,ParameterValue=EffectiveDevOpsAWS
{
"StackId": "arn:aws:cloudformation:us-east-1:511912822958:stack/ansible/6c52ef30-32b6-11e6-a0f4-500c524294d2" ...Read now
Unlock full access