FYI, I didn't find a way to do this but worked around by creating a ad-hoc
group with add_host.
Op dinsdag 1 maart 2016 08:57:01 UTC+1 schreef Daan Hoogland:
>
> LS,
>
> When a play I write changes the adres or name by which a host is adressed
> (i.e. ansible_host value) is it p
Op zaterdag 27 februari 2016 10:06:00 UTC+1 schreef René Moser:
>
>
> BTW: Did you see the detailed guide for the cloudstack modules?
> http://docs.ansible.com/ansible/guide_cloudstack.html
>
> thanks Rene, I didn't I will go through it ;)
>
>
> René
>
>
>
--
You received this message
LS,
When a play I write changes the adres or name by which a host is adressed
(i.e. ansible_host value) is it possible to tell ansible to use a new value
for this target from there on? I am trying to recreate an instance in a
cloud. after the recreation some simple lineinfile, user,
LS, I am trying to use the cloudstack set of modules with ansible 2.0
host file:
[vms]
vm01
end of host file
stip.yaml:
- hosts: all
gather_facts: no
tasks:
- name: stop vm
local_action: cs_instance name="{{ inventory_hostname }}" state=stopped
end of stop.yaml
command:
$