Sounds like good use of Tower callback function. That way Tower does not
have to know anything about the new host. Just be sure the windows image is
configure for ansible, and then use either a cloud_init or or a first run
script to execute the callback.

On Fri, Jul 29, 2022, 12:18 PM Wei-Yen Tan <weiyen....@gmail.com> wrote:

> You can use add_host to the playbook that generates In memory hosts during
> the execution run
>
> Get Outlook for iOS <https://aka.ms/o0ukef>
> ------------------------------
> *From:* 'Nicholas Branson' via Ansible Project <
> ansible-project@googlegroups.com>
> *Sent:* Friday, July 29, 2022 10:31:11 PM
> *To:* Ansible Project <ansible-project@googlegroups.com>
> *Subject:* [ansible-project] Deploying Windows Server using Ansible Tower
>
> Ansible Newbie Calling...
>
> We have Ansible Tower and Satellite.
>
> I've been asked to look at Deploying Windows Server using Ansible Tower.
>
> I've created a win2019-tmp (template) in VMware
>
> Now I need to look at creating a Role playbook to deploy a Windows system
> in VMware.
>
> I've made a start on the main.yml and vars.yml files but I am not sure
> they will run on my new pipeline yet.
>
> Is there a way to check if the pipeline is ready to test playbooks on ?
>
> Also, since I will be deploying a Windows Server that has not been created
> yet, how can I put any info in the Ansible Tower Template Inventory area if
> it does not exist?
>
> I hope someone can help me with Windows deployements using Ansible. I
> couldn't find a suitable Red Hat course for this.
>
> Thanks
> Nick
>
>
>
>
>
> DISCLAIMER
>
> This email is confidential and subject to important disclaimers and
> conditions in relation to monitoring, viruses, confidentiality and legal
> privilege full details of which can be viewed on our Email Policy at the
> following link: http://www.next.co.uk/Policy/
>
> Next Holdings Ltd registered in England 35161.  Registered Office Desford
> Road Enderby Leicester LE19 4AT.  Authorised and regulated by the Financial
> Conduct Authority
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a54de861-ffef-4f15-bffa-46d472101ec2n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a54de861-ffef-4f15-bffa-46d472101ec2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/SYBP282MB3525DE557DE6C3D303B25B79AD999%40SYBP282MB3525.AUSP282.PROD.OUTLOOK.COM
> <https://groups.google.com/d/msgid/ansible-project/SYBP282MB3525DE557DE6C3D303B25B79AD999%40SYBP282MB3525.AUSP282.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEcFzYyYNfbjHnZMiFXrWVCBbuHnCYbuh5tgC_euV4GRAtkonw%40mail.gmail.com.

Reply via email to