{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/40631","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/40631/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/40631/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/40631/events","html_url":"https://github.com/ansible/ansible/issues/40631","id":325847638,"node_id":"MDU6SXNzdWUzMjU4NDc2Mzg=","number":40631,"title":"F5 bigip_pool_member reports change needs to be made when there's no change","user":{"login":"eoprede","id":18354036,"node_id":"MDQ6VXNlcjE4MzU0MDM2","avatar_url":"https://avatars2.githubusercontent.com/u/18354036?v=4","gravatar_id":"","url":"https://api.github.com/users/eoprede","html_url":"https://github.com/eoprede","followers_url":"https://api.github.com/users/eoprede/followers","following_url":"https://api.github.com/users/eoprede/following{/other_user}","gists_url":"https://api.github.com/users/eoprede/gists{/gist_id}","starred_url":"https://api.github.com/users/eoprede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eoprede/subscriptions","organizations_url":"https://api.github.com/users/eoprede/orgs","repos_url":"https://api.github.com/users/eoprede/repos","events_url":"https://api.github.com/users/eoprede/events{/privacy}","received_events_url":"https://api.github.com/users/eoprede/received_events","type":"User","site_admin":false},"labels":[{"id":835286067,"node_id":"MDU6TGFiZWw4MzUyODYwNjc=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.6","name":"affects_2.6","color":"ededed","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":704407939,"node_id":"MDU6TGFiZWw3MDQ0MDc5Mzk=","url":"https://api.github.com/repos/ansible/ansible/labels/f5","name":"f5","color":"c5def5","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":339653091,"node_id":"MDU6TGFiZWwzMzk2NTMwOTE=","url":"https://api.github.com/repos/ansible/ansible/labels/networking","name":"networking","color":"c7def8","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-23T19:44:56Z","updated_at":"2018-06-01T21:59:39Z","closed_at":"2018-06-01T21:38:23Z","author_association":"CONTRIBUTOR","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\nWhen running playbook with bigip_pool_member module with state: present against live device, each run results in change being made when in reality there's no need for a change.\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\nbigip_pool_member\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.6.0a1\r\n  config file = None\r\n  configured module search path = [u'/ansible/library']\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/bin/ansible-playbook\r\n  python version = 2.7.14 (default, Dec 14 2017, 15:51:29) [GCC 6.4.0]\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\nRunning Ansible within container as described here: http://ruleoftech.com/2017/dockerizing-all-the-things-running-ansible-inside-docker-container\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\nThe following playbook will result in changes made every time it is run.\r\n```yaml\r\n- name: Create Pool\r\n      bigip_pool_member:\r\n        provider: \"{{ test_f5 }}\"\r\n        pool: abc_log\r\n        state: present\r\n        host: \"10.0.0.100\"\r\n        port: 50002\r\n        partition: Common\r\n      delegate_to: localhost\r\n```\r\nHowever this playbook (state: absent) will run as expected.\r\n```yaml\r\n- name: Create Pool\r\n      bigip_pool_member:\r\n        provider: \"{{ test_f5 }}\"\r\n        pool: abc_log\r\n        state: absent\r\n        host: \"10.0.0.100\"\r\n        port: 50002\r\n        partition: Common\r\n      delegate_to: localhost\r\n```\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nI would expect the playbook to change config only once, not every time it is run.\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nConfig gets applied every run instead of just once.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/394020744","html_url":"https://github.com/ansible/ansible/issues/40631#issuecomment-394020744","issue_url":"https://api.github.com/repos/ansible/ansible/issues/40631","id":394020744,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDAyMDc0NA==","user":{"login":"eoprede","id":18354036,"node_id":"MDQ6VXNlcjE4MzU0MDM2","avatar_url":"https://avatars2.githubusercontent.com/u/18354036?v=4","gravatar_id":"","url":"https://api.github.com/users/eoprede","html_url":"https://github.com/eoprede","followers_url":"https://api.github.com/users/eoprede/followers","following_url":"https://api.github.com/users/eoprede/following{/other_user}","gists_url":"https://api.github.com/users/eoprede/gists{/gist_id}","starred_url":"https://api.github.com/users/eoprede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eoprede/subscriptions","organizations_url":"https://api.github.com/users/eoprede/orgs","repos_url":"https://api.github.com/users/eoprede/repos","events_url":"https://api.github.com/users/eoprede/events{/privacy}","received_events_url":"https://api.github.com/users/eoprede/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T21:59:39Z","updated_at":"2018-06-01T21:59:39Z","author_association":"CONTRIBUTOR","body":"Looks good, thanks!"}}
{"actor":{"display_login":"eoprede"}}