{"push_id":2935523923,"size":1,"distinct_size":1,"ref":"refs/heads/win_hosts","head":"231811d6bee52c031cd535a3a537d12545b1460d","before":"8ee67924cdbdccf2f2b459a77205c5b22ea6825f","commits":[{"sha":"231811d6bee52c031cd535a3a537d12545b1460d","author":{"name":"Micah Hunsberger","email":"3e6d15708968ea2304ec0b46a32256e4aec4b62e@gmail.com"},"message":"Add alias support to win_hosts module (#1)\n\n* win_hosts supports aliases\r\n\r\nadded support for adding / removing aliases from a host entry, rather than adding a new entry\r\n\r\nadded ability for win_hosts to detect aliases:\r\n`192.168.1.1 alias1 alias2 alias3`\r\n```\r\nwin_hosts:\r\n  host_name: alias2\r\n  ip_address: 192.168.1.1\r\n```\r\nwill result in `192.168.1.1 alias1 alias3`\r\n\r\nalso includes `replace` and `add` as options for `ip_action` (`replace` is default)\r\n\r\nfor example:\r\n```\r\n192.168.1.1 my_reused_alias\r\n192.168.1.2 my_reused_alias\r\n```\r\nwith\r\n```\r\nwin_hosts:\r\n  host_name: my_reused_alias\r\n  ip_address: 192.168.1.3\r\n  ip_action: add\r\n```\r\nthe result will be\r\n```\r\n192.168.1.1 my_reused_alias\r\n192.168.1.2 my_reused_alias\r\n```\r\nbut with `ip_action=replace` the result would be\r\n```\r\n192.168.1.3 my_reused_alias\r\n```","distinct":true,"url":"https://api.github.com/repos/mhunsber/ansible/commits/231811d6bee52c031cd535a3a537d12545b1460d"}]}
{"actor":{"display_login":"mhunsber"}}