{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/673","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/673/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/673/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/673","id":54934259,"number":673,"title":"adding stickiness support to ec2_elb_lb.py","user":{"login":"mschurenko","id":4079843,"avatar_url":"https://avatars.githubusercontent.com/u/4079843?v=3","gravatar_id":"","url":"https://api.github.com/users/mschurenko","html_url":"https://github.com/mschurenko","followers_url":"https://api.github.com/users/mschurenko/followers","following_url":"https://api.github.com/users/mschurenko/following{/other_user}","gists_url":"https://api.github.com/users/mschurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mschurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschurenko/subscriptions","organizations_url":"https://api.github.com/users/mschurenko/orgs","repos_url":"https://api.github.com/users/mschurenko/repos","events_url":"https://api.github.com/users/mschurenko/events{/privacy}","received_events_url":"https://api.github.com/users/mschurenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_revision","name":"needs_revision","color":"eb6450"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-20T20:22:32Z","updated_at":"2015-02-25T02:54:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/673","html_url":"https://github.com/ansible/ansible-modules-core/pull/673","diff_url":"https://github.com/ansible/ansible-modules-core/pull/673.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/673.patch"},"body":"We needed stickiness support at work so I added it to ec2_elb_lb. it would be nice if this could be looked at relatively soon. I'm finding that I have to maintain my own forks of ec2 modules as lots of times functionality (such as this) is missing.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/75896590","html_url":"https://github.com/ansible/ansible-modules-core/pull/673#issuecomment-75896590","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/673","id":75896590,"user":{"login":"mschurenko","id":4079843,"avatar_url":"https://avatars.githubusercontent.com/u/4079843?v=3","gravatar_id":"","url":"https://api.github.com/users/mschurenko","html_url":"https://github.com/mschurenko","followers_url":"https://api.github.com/users/mschurenko/followers","following_url":"https://api.github.com/users/mschurenko/following{/other_user}","gists_url":"https://api.github.com/users/mschurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mschurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschurenko/subscriptions","organizations_url":"https://api.github.com/users/mschurenko/orgs","repos_url":"https://api.github.com/users/mschurenko/repos","events_url":"https://api.github.com/users/mschurenko/events{/privacy}","received_events_url":"https://api.github.com/users/mschurenko/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T02:54:53Z","updated_at":"2015-02-25T02:54:53Z","body":"What about like this?\r\n\r\n```yaml\r\nmodule: ec2_elb_lb\r\nstickiness:\r\n  type: application\r\n  enabled: True # default is True\r\n  app_cookie: SESSIONID\r\n```\r\n\r\n@bcoca if you don't like this way can you express \"having a stickyness parameter (choices: builtin,application,none(default) with stickyness_cookie and stickyness_expiration as supporting options\" in yaml? I'm not exactly sure what you mean.\r\n\r\nThanks\r\n"}}