Re: [ansible-project] Ansible Playbook for Windows Patching

2021-11-11 Thread dulhaver via Ansible Project
without much Ansible experience: 1. the blank line (22) looks suspicious 2. would you need to add spaces between " {{   }} " for calling the variable in line 23?     whitelist: "{{kb_list|default(omit,true )}}" vs   whitelist: " {{ kb_list|default(omit,true ) }} " On 10.11.21

Re: [ansible-project] how to read a yaml file and update itself ?

2021-11-11 Thread Eric Chang
WOW , that's incredible ! thanks ! dick@geant.org 在 2021年11月8日 星期一下午6:04:56 [UTC+8] 的信中寫道: > This should work, although it could probably be optimised: > > > --- > > - hosts: localhost > > gather_facts: no > > connection: local > > > vars: > > filename: /tmp/centers.yml > > > tas

Re: [ansible-project] Ansible not working with remote Python virtual environments on Mac

2021-11-11 Thread Dick Visser
Drop the virtualenv command and try 'python3 -m venv' instead On Thu, 11 Nov 2021 at 18:08, Mike Spitzer wrote: > All actions with the pip module (other than creating the venv) apply to > the user context and not the venv on a Mac. The details below are for the > pip module. Running the command

[ansible-project] Re: Ansible Control Node Configuration

2021-11-11 Thread daeme...@gmail.com
We also investigating the best setup. On the moment we have a sort of call home system the remote is a linux applianceand the control node is in docker. The remote appliance makes a ssh tunnel to the main and we use the controle node trought that tunnel. On the firewall's the ip's are added to th

[ansible-project] Ansible not working with remote Python virtual environments on Mac

2021-11-11 Thread Mike Spitzer
All actions with the pip module (other than creating the venv) apply to the user context and not the venv on a Mac. The details below are for the pip module. Running the commands when logged into the system works as expected and using those commands with both the command and shell modules result