{"action":"created","issue":{"url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/3","labels_url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/3/comments","events_url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/3/events","html_url":"https://github.com/debops/ansible-dhcpd/issues/3","id":56137592,"number":3,"title":"how to define hosts inside pools?","user":{"login":"stefangweichinger","id":2673904,"avatar_url":"https://avatars.githubusercontent.com/u/2673904?v=3","gravatar_id":"","url":"https://api.github.com/users/stefangweichinger","html_url":"https://github.com/stefangweichinger","followers_url":"https://api.github.com/users/stefangweichinger/followers","following_url":"https://api.github.com/users/stefangweichinger/following{/other_user}","gists_url":"https://api.github.com/users/stefangweichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/stefangweichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefangweichinger/subscriptions","organizations_url":"https://api.github.com/users/stefangweichinger/orgs","repos_url":"https://api.github.com/users/stefangweichinger/repos","events_url":"https://api.github.com/users/stefangweichinger/events{/privacy}","received_events_url":"https://api.github.com/users/stefangweichinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-31T20:13:59Z","updated_at":"2015-02-02T16:51:30Z","closed_at":null,"body":"I don't get it ... how can I define hosts inside a pool?\r\n\r\nI tried:\r\n\r\n```\r\n  - subnet: '10.1.3.0'\r\n    netmask: '255.255.255.0'\r\n    routers: '10.1.3.245'\r\n    options: |\r\n      default-lease-time 300;\r\n      max-lease-time 7200;\r\n    pools:\r\n      - comment: \"am-vip pool\"\r\n        range: '10.1.3.1 10.1.3.20'\r\n        options: |\r\n          default-lease-time 300;\r\n          max-lease-time 7200;\r\n        hosts:\r\n         - hostname: 'examplehost'\r\n           address: '10.1.3.11'\r\n           ethernet: '00:00:45:00:00:00'\r\n         - hostname: 'drei'\r\n           address: '10.1.3.13'\r\n           ethernet: '00:00:46:00:00:00'\r\n```\r\n\r\nand would like to have:\r\n\r\n2 pools, one for unknown clients, one for defined/known clients, defined as above.\r\n\r\nIs it possible with this role .. ?\r\n\r\nThanks in advance, Stefan \r\n"},"comment":{"url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/comments/72491604","html_url":"https://github.com/debops/ansible-dhcpd/issues/3#issuecomment-72491604","issue_url":"https://api.github.com/repos/debops/ansible-dhcpd/issues/3","id":72491604,"user":{"login":"stefangweichinger","id":2673904,"avatar_url":"https://avatars.githubusercontent.com/u/2673904?v=3","gravatar_id":"","url":"https://api.github.com/users/stefangweichinger","html_url":"https://github.com/stefangweichinger","followers_url":"https://api.github.com/users/stefangweichinger/followers","following_url":"https://api.github.com/users/stefangweichinger/following{/other_user}","gists_url":"https://api.github.com/users/stefangweichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/stefangweichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefangweichinger/subscriptions","organizations_url":"https://api.github.com/users/stefangweichinger/orgs","repos_url":"https://api.github.com/users/stefangweichinger/repos","events_url":"https://api.github.com/users/stefangweichinger/events{/privacy}","received_events_url":"https://api.github.com/users/stefangweichinger/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T16:51:30Z","updated_at":"2015-02-02T16:51:30Z","body":"got it working in the meantime! I had IPs instead of hostnames in the definition ... with the Ansible inventory name instead it works now ... happy for now, sorry for the noise!!"}}