ansible and windows laptops on corporate and wan networks

31 views
Skip to first unread message

Seth Daemen

unread,
Sep 9, 2019, 7:04:51 AM9/9/19
to Ansible Project

We use Ansible to manage a lot of windows servers, which works well.

Now we have also some laptops we want to manage. when theay are on the corporate network this works fine.
But how can we make connection when they are on a public network, beacause ansible does not have an agent.


Cade Lambert

unread,
Sep 9, 2019, 9:12:19 AM9/9/19
to Ansible Project
I would think the only solution would be for them to access a corporate VPN when they are on anything outside the internal corporate network.

Kai Stian Olstad

unread,
Sep 9, 2019, 9:38:44 AM9/9/19
to ansible...@googlegroups.com
You can use ansible-pull from a cron job.


--
Kai Stian Olstad

Jonathan Lozada De La Matta

unread,
Sep 9, 2019, 9:41:43 AM9/9/19
to ansible...@googlegroups.com
You can also use AWX and use the callback provision or have a crob that sends an API call in a specific time to do X.

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


--

Jonathan Cha'gara Lozada De La Matta

He / Him / His

Red Hat

Senior Automation Practice Consultant & Automation CoP Manager

Join the Automation CoP! https://red.ht/autocop

 

Seth Daemen

unread,
Sep 9, 2019, 4:08:46 PM9/9/19
to Ansible Project
Windows does not have cron.
Is Ansible pull available for Windows?

Seth Daemen

unread,
Sep 9, 2019, 4:11:56 PM9/9/19
to Ansible Project
I dont understand your answer. Can you explain some more

Kai Stian Olstad

unread,
Sep 9, 2019, 5:35:16 PM9/9/19
to ansible...@googlegroups.com
On 09.09.2019 22:08, Seth Daemen wrote:
> Windows does not have cron.

The equivalent to cron is task scheduler.


> Is Ansible pull available for Windows?

Yeh, I missed the whole Windows part, ansible-pull doesn't work in Windows.


--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages