PLAY [localhost] ***************************************************************************************************************** TASK [discover RDS host security group identifier] ******************************************************************************* ok: [localhost] TASK [debug] ********************************************************************************************************************* ok: [localhost] => msg: RDS host dev-appstore-n has security_group_id sg-da0deda0 TASK [get private IP address of an EC2 instance called Ansible] ****************************************************************** ok: [localhost] TASK [debug] ********************************************************************************************************************* ok: [localhost] => msg: EC2 called Ansible has private ip 172.31.23.135 TASK [get security group info for group id sg-da0deda0] ************************************************************************** ok: [localhost] TASK [debug] ********************************************************************************************************************* ok: [localhost] => : VARIABLE IS NOT DEFINED! TASK [add private IP address of EC2 called Ansible to RDS host's security group] ************************************************* fatal: [localhost]: FAILED! => changed=false msg: 'state is present but all of the following are missing: name' PLAY RECAP *********************************************************************************************************************** localhost : ok=6 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0