[ansible-project] Re: Check for existing installed software

2021-12-30 Thread Niek
Probably check: https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html Op donderdag 30 december 2021 om 19:24:36 UTC+1 schreef Niek: > Not a ansible hero here, but i think you can do something with the when: > command in your playbook. > > So somewhere in

[ansible-project] Re: Check for existing installed software

2021-12-30 Thread Niek
Not a ansible hero here, but i think you can do something with the when: command in your playbook. So somewhere in de the task where you check the version you will do a register: dotnet_version And in the taks where you execute it: when: "'4.8' in {{ dotnet_version }}" Op woensdag 29 december

Re: [ansible-project] Ansible converts dictionary to string while it should not.

2020-11-04 Thread Niek
Thank you for the quick response Felix, I have filed a bug in the repository. On Wednesday, 4 November 2020 at 15:22:50 UTC+1 Felix Fontein wrote: > Hi, > > > I'm having trouble with the cisco.mso.mso_schema module (Doc Page > > < > https://docs.ansible.com/ansible/latest/collections/cisco/mso/

[ansible-project] Ansible converts dictionary to string while it should not.

2020-11-04 Thread Niek
* "displayName": "schema1",* * "templates": [* *"{* * "name": "template1",* * "displayName": "template1",* * "tenantId": "5fa29a543ce9c3a6ed80"* *}"* * ]* *}*