-
Notifications
You must be signed in to change notification settings - Fork 37
Description
[root@ip-172-31-33-196 ec2]# ./build-base.sh
[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user
configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
PLAY [Launch EC2 instance] ***********************************************************************************************************************************************
TASK [Gathering Facts] ***************************************************************************************************************************************************
ok: [localhost]
TASK [launch : Launch EC2 instance(s)] ***********************************************************************************************************************************
changed: [localhost]
TASK [launch : Add new instance to host group] ***************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'public_ip'\n\nThe error appears to be in '/opt/faas/ec2/roles/launch/tasks/main.yml': line 32, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # Add to host group so we can see this node later in the playbook.\n- name: Add new instance to host group\n ^ here\n"}
NO MORE HOSTS LEFT *******************************************************************************************************************************************************
PLAY RECAP ***************************************************************************************************************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0