{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/24289","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/24289/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/24289/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/24289/events","html_url":"https://github.com/ansible/ansible/issues/24289","id":226253231,"node_id":"MDU6SXNzdWUyMjYyNTMyMzE=","number":24289,"title":"ec2 module: support min_success_percentage for multiple instance creation without ASG or fleet","user":{"login":"max-nrgene","id":19517604,"node_id":"MDQ6VXNlcjE5NTE3NjA0","avatar_url":"https://avatars2.githubusercontent.com/u/19517604?v=4","gravatar_id":"","url":"https://api.github.com/users/max-nrgene","html_url":"https://github.com/max-nrgene","followers_url":"https://api.github.com/users/max-nrgene/followers","following_url":"https://api.github.com/users/max-nrgene/following{/other_user}","gists_url":"https://api.github.com/users/max-nrgene/gists{/gist_id}","starred_url":"https://api.github.com/users/max-nrgene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-nrgene/subscriptions","organizations_url":"https://api.github.com/users/max-nrgene/orgs","repos_url":"https://api.github.com/users/max-nrgene/repos","events_url":"https://api.github.com/users/max-nrgene/events{/privacy}","received_events_url":"https://api.github.com/users/max-nrgene/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"node_id":"MDU6TGFiZWw1NjIyOTIxNjY=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":379680333,"node_id":"MDU6TGFiZWwzNzk2ODAzMzM=","url":"https://api.github.com/repos/ansible/ansible/labels/aws","name":"aws","color":"c5def5","default":false},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":852590921,"node_id":"MDU6TGFiZWw4NTI1OTA5MjE=","url":"https://api.github.com/repos/ansible/ansible/labels/feature","name":"feature","color":"006b75","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-04T11:37:11Z","updated_at":"2018-11-26T03:21:12Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release, and master branch are affected too.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Feature Idea\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module/plugin/task/feature -->\r\nec2\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.4.0\r\n  config file = \r\n  configured module search path = [u'/home/maxk/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /home/maxk/.virtualenvs/ansible-devel/local/lib/python2.7/site-packages/ansible\r\n  executable location = /home/maxk/.virtualenvs/ansible-devel/bin/ansible\r\n  python version = 2.7.12+ (default, Sep 17 2016, 12:08:02) [GCC 6.2.0 20160914]\r\n\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\nNone\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention 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\n-->\r\nubuntu 16.10\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\ncreation of multiple instance does not have to be hard/harsh. when setting up a multi-node cluster I am ok with not getting 100% of nodes, especially using spot instances.\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor 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\nadded the parameter `min_success_percentage`\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\n- name: create instances\r\n  ec2:\r\n    image: ami-lalala\r\n    count: 20\r\n    spot_price: 1.0\r\n    min_success_percentage: 75\r\n    state: present\r\n\r\n```\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\nsuccess upon bringin up 16 nodes or more\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nfailure for anything, except 20\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/441507899","html_url":"https://github.com/ansible/ansible/issues/24289#issuecomment-441507899","issue_url":"https://api.github.com/repos/ansible/ansible/issues/24289","id":441507899,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUwNzg5OQ==","user":{"login":"ansibot","id":6585283,"node_id":"MDQ6VXNlcjY1ODUyODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T03:21:12Z","updated_at":"2018-11-26T03:21:12Z","author_association":"CONTRIBUTOR","body":"cc @skvidal\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: notify --->"}}
{"actor":{"display_login":"ansibot"}}