Skip to content

Commit

Permalink
FAQ: EC2 instance creation failure - Ts&Cs (ansible#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
termlen0 authored and IPvSean committed Jan 16, 2019
1 parent 965d2b4 commit e207be7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,19 @@ Ansible Tower stores job templates under the projects folder in the awx home dir

cd into the relevant project folder and execute the Playbook from the command line to run the playbook exactly how it was run from Ansible Tower. This will hopefully let you see an error or problem you were not aware of via the Tower GUI.

## Problem: Creating EC2 instances fail with an "OptInRequired" message

```
TASK [manage_ec2_instances : Create EC2 instances for rtr3 node (NETWORKING MODE)] ***
fatal: [localhost]: FAILED! => changed=false
msg: 'Instance creation failed => OptInRequired: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=bw54e0gl17zf0vxq54dttwvow'
```
### Solution:

This is likely if you are using the device (CSR/F5/vMX) for the first time in AWS. You will need to follow the link in the error output and accept the Terms and Conditions in order to proceed. Once you accept, re-run the provisioner.


## Problem: F5 Workshop provisioner fails on mac

```
Expand All @@ -126,4 +139,4 @@ fatal: [TESTWORKSHOP-student1-f5]: FAILED! => {"changed": false, "cmd": "rpm -qp

```
$ brew install rpm
```
```

0 comments on commit e207be7

Please sign in to comment.