Do I need something you did not document? This fails for me when trying to allocate the elastic IP.
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "EC2ResponseError: 400 Bad Request\n\nInvalidParameterCombination
You must specify an allocation id when mapping an address to a VPC instanceca81cce1-02c9-441d-9e20-0bc2afdf9ca7"}
PLAY [Create Infrastructure] *****************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************
ok: [localhost]
TASK [Verify Ansible Version] ****************************************************************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [fail] **********************************************************************************************************
skipping: [localhost] => (item=rhsm_username)
skipping: [localhost] => (item=rhsm_password)
skipping: [localhost] => (item=rhsm_pool)
TASK [setup-vpc : Provision VPC] *************************************************************************************
ok: [localhost]
TASK [setup-vpc : Provision internet gateway] ************************************************************************
ok: [localhost]
TASK [setup-vpc : Provision subnet] **********************************************************************************
ok: [localhost]
TASK [setup-vpc : Set up public subnet route table] ******************************************************************
ok: [localhost]
TASK [setup-vpc : register vpc facts] ********************************************************************************
ok: [localhost]
TASK [setup-vpc : set availability zone fact] ************************************************************************
ok: [localhost]
TASK [setup-security-groups : create openshift-vpc] ******************************************************************
ok: [localhost]
TASK [setup-security-groups : create openshift-public-ingress] *******************************************************
ok: [localhost]
TASK [setup-security-groups : create openshift-public-egress] ********************************************************
ok: [localhost]
TASK [setup-security-groups : create openshift-ssh] ******************************************************************
ok: [localhost]
TASK [setup-virtual-machines : Find ami without ami id] **************************************************************
skipping: [localhost]
TASK [setup-virtual-machines : Find ami id with ami] *****************************************************************
ok: [localhost]
TASK [setup-virtual-machines : Provision master] *********************************************************************
ok: [localhost]
TASK [setup-virtual-machines : allocate a new elastic IP and associate it with master] *******************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "EC2ResponseError: 400 Bad Request\n\nInvalidParameterCombination
You must specify an allocation id when mapping an address to a VPC instanceca81cce1-02c9-441d-9e20-0bc2afdf9ca7"}
to retry, use: --limit @/home/llange/git/openshift-aws-setup/openshift-playbook.retry
PLAY RECAP ***********************************************************************************************************
localhost : ok=14 changed=0 unreachable=0 failed=1