An issue has been filled here 
: https://github.com/ansible/ansible-modules-core/issues/931

Le mercredi 11 mars 2015 14:47:55 UTC+1, Julien Syx a écrit :
>
> Hello,
>
> I'm trying to use the ec2_asg module here : 
> http://docs.ansible.com/ec2_asg_module.html
> The goal is to kill all instances during the night and boot them the 
> morning.
>
> I tried : 
> - name: Shutdown PREPROD
>   hosts: localhost
>   remote_user: root
>
>   tasks:
>   - name: Shutdown instances
>     ec2_asg:
>       region: eu-west-1
>       name: MYASGNAME
>       min_size: 1
>       max_size: 5
>       desired_capacity: 2
>
> Settings are ok, the playbook run an modify my ASG as I wish.
>
> When I try to set desired_capacity at 0 or min_size at 0, my parameters 
> are ignored and no action is done.
> Any idea about why I can't do this ? The delete function do the same thing 
> before remove the ASG.
>
> My version of ansible is 1.8.1, installed with "pip".
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d0c8f4ef-b42f-491f-8a50-04f0519e30eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to