{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4414","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4414/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4414/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4414/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/4414","id":170955711,"number":4414,"title":"ec2_elb_lb: Ansible didn't detect \"scheme\" change","user":{"login":"ralfbergs","id":7198745,"avatar_url":"https://avatars.githubusercontent.com/u/7198745?v=3","gravatar_id":"","url":"https://api.github.com/users/ralfbergs","html_url":"https://github.com/ralfbergs","followers_url":"https://api.github.com/users/ralfbergs/followers","following_url":"https://api.github.com/users/ralfbergs/following{/other_user}","gists_url":"https://api.github.com/users/ralfbergs/gists{/gist_id}","starred_url":"https://api.github.com/users/ralfbergs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralfbergs/subscriptions","organizations_url":"https://api.github.com/users/ralfbergs/orgs","repos_url":"https://api.github.com/users/ralfbergs/repos","events_url":"https://api.github.com/users/ralfbergs/events{/privacy}","received_events_url":"https://api.github.com/users/ralfbergs/received_events","type":"User","site_admin":false},"labels":[{"id":437720344,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","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":7,"created_at":"2016-08-12T20:44:52Z","updated_at":"2016-12-09T21:18:44Z","closed_at":null,"body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\n##### ISSUE TYPE\n\n<!--- Pick one below and delete the rest: -->\n- Bug Report\n##### COMPONENT NAME\n\nec2_elb_lb\n##### ANSIBLE VERSION\n\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\n\n```\nansible 2.1.1.0\n  config file = /Users/rabe/Documents/Projects/IoT/Design/Devel/Env-Setup/ansible.cfg\n  configured module search path = Default w/o overrides\n```\n##### CONFIGURATION\n\n<!---\nMention any settings you have changed/added/removed in ansible.cfg\n(or using the ANSIBLE_* environment variables).\n-->\n##### OS / ENVIRONMENT\n\nN/A\n##### SUMMARY\n\nChanged the scheme from `internal` to `internet-facing`, and Ansible didn't detect that it had to change the state, i. e. perform some work.\n##### STEPS TO REPRODUCE\n\n<!---\nFor bugs, show exactly how to reproduce the problem.\nFor new features, show how the feature would be used.\n-->\n\nOriginally had the following:\n\n```\n    - name: Create Elastic Load Balancer for frontend\n      ec2_elb_lb:\n        name: \"{{ owner }}-elb-{{ env }}-fe\"\n        region: \"{{ region }}\"\n        subnets:\n          - \"{{ mgmt_subnet_fe_1 }}\"\n          - \"{{ mgmt_subnet_fe_2 }}\"\n        state: present\n        scheme: internal\n        cross_az_load_balancing: yes\n        listeners:\n          - protocol: http\n            instance_protocol: http\n            load_balancer_port: 80\n            instance_port: 80\n        health_check:\n          ping_protocol: http # options are http, https, ssl, tcp\n          ping_port: 80\n          ping_path: \"/index.html\" # not required for tcp or ssl\n          response_timeout: 5 # seconds\n          interval: 30 # seconds\n          unhealthy_threshold: 2\n          healthy_threshold: 10\n        instance_ids:\n          - \"{{ mgmt_i_fe_1.tagged_instances[0].id }}\"\n          - \"{{ mgmt_i_fe_2.tagged_instances[0].id }}\"\n        tags:\n          Name: \"{{ owner }}_elb_{{ env }}_fe\"\n          Env: \"{{ owner }}_{{ env }}\"\n          Tier: \"{{ owner }}_{{ env }}_frontend\"\n```\n\nChanged the above \"scheme\" line as follows:\n\n```\n        scheme: internet-facing\n```\n\n<!--- You can also paste gist.github.com links for larger files -->\n##### EXPECTED RESULTS\n\nI expected that Ansible noticed it had to change the ELB config.\n##### ACTUAL RESULTS\n\nAnsible did _not_ notice it got work to do. I had to manually remove the ELB and re-run the playbook.\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/266126068","html_url":"https://github.com/ansible/ansible-modules-core/issues/4414#issuecomment-266126068","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4414","id":266126068,"user":{"login":"ralfbergs","id":7198745,"avatar_url":"https://avatars.githubusercontent.com/u/7198745?v=3","gravatar_id":"","url":"https://api.github.com/users/ralfbergs","html_url":"https://github.com/ralfbergs","followers_url":"https://api.github.com/users/ralfbergs/followers","following_url":"https://api.github.com/users/ralfbergs/following{/other_user}","gists_url":"https://api.github.com/users/ralfbergs/gists{/gist_id}","starred_url":"https://api.github.com/users/ralfbergs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralfbergs/subscriptions","organizations_url":"https://api.github.com/users/ralfbergs/orgs","repos_url":"https://api.github.com/users/ralfbergs/repos","events_url":"https://api.github.com/users/ralfbergs/events{/privacy}","received_events_url":"https://api.github.com/users/ralfbergs/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T21:18:44Z","updated_at":"2016-12-09T21:18:44Z","body":"This issue was moved to ansible/ansible#19116"}}
{"actor":{"display_login":"ralfbergs"}}