{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3203","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3203/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3203/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3203/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/3203","id":139311632,"number":3203,"title":"route53: always thinks alias record has changed","user":{"login":"SpencerBrown","id":5069963,"avatar_url":"https://avatars.githubusercontent.com/u/5069963?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerBrown","html_url":"https://github.com/SpencerBrown","followers_url":"https://api.github.com/users/SpencerBrown/followers","following_url":"https://api.github.com/users/SpencerBrown/following{/other_user}","gists_url":"https://api.github.com/users/SpencerBrown/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerBrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerBrown/subscriptions","organizations_url":"https://api.github.com/users/SpencerBrown/orgs","repos_url":"https://api.github.com/users/SpencerBrown/repos","events_url":"https://api.github.com/users/SpencerBrown/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerBrown/received_events","type":"User","site_admin":false},"labels":[{"id":437720272,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.0","name":"affects_2.0","color":"5319e7","default":false},{"id":382351767,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/aws","name":"aws","color":"c5def5","default":false},{"id":132571937,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":132897218,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":414073372,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-03-08T15:50:14Z","updated_at":"2016-11-06T09:56:47Z","closed_at":null,"body":"##### Issue Type:\n\n<!-- Please pick one and delete the rest: -->\n- Bug Report\n##### Plugin Name:\n\nroute53\n##### Ansible Version:\n\n```\nansible 2.0.1.0\n  config file = /Users/spencer/src/khaki/ansible/ansible.cfg\n  configured module search path = Default w/o overrides\n```\n##### Ansible Configuration:\n\nnone relevant\n##### Environment:\n\nOS X\n##### Summary:\n\nroute53 command=create for alias record without overwrite=yes always fails when record exists. It correctly detects matching record if you are not using alias records.\n##### Steps To Reproduce:\n\nset up a task to create a simple alias record in Route 53 and run it\nnow try running it again, it fails\n##### Example task\n\n```\n  - name: Create A record alias for proxy node\n    route53:\n      aws_access_key: \"{{aws_access_key}}\"\n      aws_secret_key: \"{{aws_secret_key}}\"\n      zone: \"larkave.com\"\n      command: create\n      type: A\n      alias: True\n      alias_hosted_zone_id: \"{{ kube_proxy_zone_id }}\"\n      value: \"{{ kube_proxy_dns_name }}\"\n      record: \"proxy.{{ kube_dns_domain }}\"\n      ttl: 300\n```\n#### Expected Results:\n\n\"ok: [localhost]\"\n##### Actual Results:\n\n```\nfatal: [localhost]: FAILED! => {\"changed\": false, \"failed\": true, \"invocation\": {\"module_args\": {\"alias\": true, \"alias_hosted_zone_id\": \"Z33MTJ483KN6FU\", \"aws_access_key\": \"AKIAJJU7TXWYTYP4GQAA\", \"aws_secret_key\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \"command\": \"create\", \"ec2_url\": null, \"failover\": null, \"health_check\": null, \"hosted_zone_id\": null, \"identifier\": null, \"overwrite\": null, \"private_zone\": false, \"profile\": null, \"record\": \"proxy.larkave.com\", \"region\": null, \"retry_interval\": 500, \"security_token\": null, \"ttl\": 300, \"type\": \"A\", \"validate_certs\": true, \"value\": \"tst-kube-proxy-1257808881.us-west-2.elb.amazonaws.com\", \"vpc_id\": null, \"weight\": null, \"zone\": \"larkave.com\"}, \"module_name\": \"route53\"}, \"msg\": \"Record already exists with different value. Set 'overwrite' to replace it\"}\n```\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/258670704","html_url":"https://github.com/ansible/ansible-modules-core/issues/3203#issuecomment-258670704","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3203","id":258670704,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T09:56:46Z","updated_at":"2016-11-06T09:56:46Z","body":"@bpennypacker, ping. This issue is still waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_renotify_maintainer --->"}}
{"actor":{"display_login":"ansibot"}}