Ansible Azure - azure_rm_image

17 views
Skip to first unread message

Lucas Chies

unread,
Sep 16, 2019, 9:05:38 AM9/16/19
to Ansible Project
Hello team,
I'm trying to use Ansible to create snapshot from my azure VMS.
But every time that I use the azure_rm_image, return error.

ERROR! 'azure_rm_image' is not a valid attribute for a Play

Someone already use this?

Tks

Stefan Hornburg (Racke)

unread,
Sep 16, 2019, 9:15:43 AM9/16/19
to ansible...@googlegroups.com
Please post your playbook.

Regards
Racke

>
> --
> 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a60b1993-c292-421e-a5bf-34aa3c566265%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a60b1993-c292-421e-a5bf-34aa3c566265%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

Lucas Chies

unread,
Sep 16, 2019, 9:28:19 AM9/16/19
to ansible...@googlegroups.com
Hi Stefan,

Follow the script


Lucas Chies
Microsoft Azure Specialist - rMVP
IT Pro | Cloud and Data Center | Azure
Phone : 51 35085474 | 51 98568-5826
 


To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0601f7e2-f177-e233-562f-be675b59e585%40linuxia.de.

Lucas Chies

unread,
Sep 16, 2019, 9:28:51 AM9/16/19
to ansible...@googlegroups.com
Hi Stefan, follow the script:

nameCreate an image from os disk via dict
  azure_rm_image:
    resource_groupRG-xxx
    namesrvfgl-xxxx-snapshot
    source:
        typedisks
        resource_groupRG-xxx
        namesrvfgl-xxxx_OsDisk_1_3d894cd33a2d4dfeb6aed9c1261cb391


Tks
Lucas Chies
Microsoft Azure Specialist - rMVP
IT Pro | Cloud and Data Center | Azure
Phone : 51 35085474 | 51 98568-5826
 
Em seg, 16 de set de 2019 às 10:15, Stefan Hornburg (Racke) <ra...@linuxia.de> escreveu:
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0601f7e2-f177-e233-562f-be675b59e585%40linuxia.de.

Dick Visser

unread,
Sep 16, 2019, 4:20:14 PM9/16/19
to ansible...@googlegroups.com
What version of ansible are you using?


--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.
Reply all
Reply to author
Forward
0 new messages