{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3131","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3131/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3131/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3131/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/3131","id":182004512,"number":3131,"title":"After commit 9392943 win_firewall_rules rules default to services only","user":{"login":"j3ffrw","id":6805141,"avatar_url":"https://avatars.githubusercontent.com/u/6805141?v=3","gravatar_id":"","url":"https://api.github.com/users/j3ffrw","html_url":"https://github.com/j3ffrw","followers_url":"https://api.github.com/users/j3ffrw/followers","following_url":"https://api.github.com/users/j3ffrw/following{/other_user}","gists_url":"https://api.github.com/users/j3ffrw/gists{/gist_id}","starred_url":"https://api.github.com/users/j3ffrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3ffrw/subscriptions","organizations_url":"https://api.github.com/users/j3ffrw/orgs","repos_url":"https://api.github.com/users/j3ffrw/repos","events_url":"https://api.github.com/users/j3ffrw/events{/privacy}","received_events_url":"https://api.github.com/users/j3ffrw/received_events","type":"User","site_admin":false},"labels":[{"id":454885841,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/affects_2.3","name":"affects_2.3","color":"5319e7","default":false},{"id":132898023,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":415779102,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"ededed","default":false},{"id":132898235,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/windows","name":"windows","color":"777777","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-10T12:38:57Z","updated_at":"2016-11-29T10:51:18Z","closed_at":null,"body":"##### ISSUE TYPE\n- Bug Report\n##### COMPONENT NAME\n\nwin_firewall_rule\n##### ANSIBLE VERSION\n\n```\nansible 2.3.0 (devel 03765ba65e) last updated 2016/10/10 20:17:20 (GMT +800)\n  lib/ansible/modules/core: (detached HEAD b4f6a25195) last updated 2016/10/10 20:17:43 (GMT +800)\n  lib/ansible/modules/extras: (detached HEAD 734aa8f8e9) last updated 2016/10/10 20:17:58 (GMT +800)\n  config file = \n  configured module search path = Default w/o overrides\n```\n##### CONFIGURATION\n\n<!---\n-->\n##### OS / ENVIRONMENT\n\nUsing Linux Mint 17.2 Rafaela to manage Windows Server 2008 R2 Datacenter\n##### SUMMARY\n\nService option should not have a default value \"any\" as this will prevent from creating a rule that \"Apply to all programs and services\"\n\nfrom technet docs:\n-Service<String>\n\nSpecifies the short name of a Windows Server 2012 service to which the firewall rule applies. If this parameter is not specified, then network traffic generated by any program or service matches this rule.\nNote: Querying for rules with this parameter can only be performed using filter objects. See the Get-NetFirewallServiceFilter cmdlet for more information. https://technet.microsoft.com/en-us/library/jj554908%28v=wps.630%29.aspx\n##### STEPS TO REPRODUCE\n\nRun the ff playbook. \n- hosts: windows\n  tasks:\n  - name: Open firewall ports\n    action: win_firewall_rule\n    args:\n      name: \"test\"\n      enable: yes\n      state: present\n      localport: \"80\"\n      remoteip: \"192.168.1.100\"\n      force: yes\n      profile: any\n      action: allow\n      direction: In\n      protocol: TCP\n##### EXPECTED RESULTS\n\n Able to create rules where rules services applies to \"Apply to all programs and services\"\n##### ACTUAL RESULTS\n\nWhen service option is not defined Service defaults to \"Apply to services only\"\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/263538564","html_url":"https://github.com/ansible/ansible-modules-extras/issues/3131#issuecomment-263538564","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3131","id":263538564,"user":{"login":"ilpianista","id":529436,"avatar_url":"https://avatars.githubusercontent.com/u/529436?v=3","gravatar_id":"","url":"https://api.github.com/users/ilpianista","html_url":"https://github.com/ilpianista","followers_url":"https://api.github.com/users/ilpianista/followers","following_url":"https://api.github.com/users/ilpianista/following{/other_user}","gists_url":"https://api.github.com/users/ilpianista/gists{/gist_id}","starred_url":"https://api.github.com/users/ilpianista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilpianista/subscriptions","organizations_url":"https://api.github.com/users/ilpianista/orgs","repos_url":"https://api.github.com/users/ilpianista/repos","events_url":"https://api.github.com/users/ilpianista/events{/privacy}","received_events_url":"https://api.github.com/users/ilpianista/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T10:51:18Z","updated_at":"2016-11-29T10:51:18Z","body":"Commit author here and I agree that default have to be changed. Sorry about that."}}
{"actor":{"display_login":"ilpianista"}}