Hi Stefan, follow the script:
- name: Create an image from os disk via dict
azure_rm_image:
resource_group: RG-xxx
name: srvfgl-xxxx-snapshot
source:
type: disks
resource_group: RG-xxx
name: srvfgl-xxxx_OsDisk_1_3d894cd33a2d4dfeb6aed9c1261cb391
*Tks*
*Lucas Chies*
Microsoft Azure Specialist - *rMVP*
IT Pro | Cloud and Data Center | Azure
Phone : 51 35085474 | 51 98568-5826
http://lucaschies.azurewebsites.net
Em seg, 16 de set de 2019 às 10:15, Stefan Hornburg (Racke) <
[email protected]> escreveu:
> On 9/16/19 3:05 PM, Lucas Chies wrote:
> > 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
>
> 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
> > [email protected] <mailto:
> [email protected]>.
> > 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.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/0601f7e2-f177-e233-562f-be675b59e585%40linuxia.de
> .
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAF8CDo8UX6nQH%2BBPgS%3DXZmxQqAzYh7QWSQgOX-t8Q83KsCW_Yg%40mail.gmail.com.