[ansible-project] Re: Access expiration date for a user

2021-11-16 Thread Todd Lewis
- name: KrbPasswordExpiration date/time demo hosts: localhost vars: user_show: json: result: result: krbpasswordexpiration: [ { "__datetime__": "20220207191401Z" } ] tasks: - name:

Re: [ansible-project] Feedback Wanted: New table design for Ansible module documentation

2021-11-16 Thread samc...@redhat.com
That is part of the change and why we would like feedback. The information is now incorporated in the comments column. Also there are other examples in the linked PR for how this proposed change impacts other plugin types. Thanks, Sandra On Tuesday, November 16, 2021 at 1:57:33 PM UTC-5 Alex

Re: [ansible-project] Can't find error in jinja2 expression

2021-11-16 Thread Stefan Hornburg (Racke)
On 16/11/2021 19:50, Axel Rau wrote: Hi all, in a template, I have: data_directory = '{{ {{ i.data }}/{{ postgresql_version }}/data }}‘ but I’m getting: "AnsibleError: template error while templating string: expected token ':', got ‚}' In the calling ansible block, I have: loop:

Re: [ansible-project] Feedback Wanted: New table design for Ansible module documentation

2021-11-16 Thread Alex Wanderley
Hello, The "After example" link is not showing the "Choices/Defaults" column on my computer screen anymore. FYI, Alex On Tue, Nov 16, 2021 at 11:47 AM samc...@redhat.com wrote: > Hi folks - > > We are experimenting with changing the module documentation tables that > appear on

[ansible-project] Can't find error in jinja2 expression

2021-11-16 Thread Axel Rau
Hi all, in a template, I have: data_directory = '{{ {{ i.data }}/{{ postgresql_version }}/data }}‘ but I’m getting: "AnsibleError: template error while templating string: expected token ':', got ‚}' In the calling ansible block, I have: loop: - '{{ i.data }}/{{

[ansible-project] Feedback Wanted: New table design for Ansible module documentation

2021-11-16 Thread samc...@redhat.com
Hi folks - We are experimenting with changing the module documentation tables that appear on docs.ansible.com to make them more compatible with smaller screen sizes. This also impacts how it appears on wider screens so please take a look at

[ansible-project] Access expiration date for a user

2021-11-16 Thread lift...@gmail.com
I'm using the freeipa APIs in a playbook to get a user's LDAP information. I can get the krbpasswordexpiration fine: "krbpasswordexpiration": [ { "__datetime__": "20220207191401Z" } But I can't figure out how to access the date string to convert it to a date object. I need it in the

[ansible-project] Ansible 5.0.0b2 available for testing

2021-11-16 Thread David Moreau Simard
Hi all, We're happy to announce that the Ansible 5.0.0 beta2 package is now available! This version is based on the newly released ansible-core 2.12.0 which is a major update from ansible-core 2.11.x used in Ansible 4. There may be backwards incompatibilities in the core playbook language.

Re: [ansible-project] Reg: Service check and stop during windows update.

2021-11-16 Thread Wei-Yen Tan
Create a new play before this one to do your pretask. Get Outlook for iOS From: ansible-project@googlegroups.com on behalf of harshc...@gmail.com Sent: Wednesday, November 17, 2021 12:25:39 AM To: Ansible Project Subject:

[ansible-project] Reg: Service check and stop during windows update.

2021-11-16 Thread harshc...@gmail.com
Hello All, I am doing windows server patching for some of the windows servers on my environment. Now i have a requirement in which i have to check a service if it exists and stop it before installing update/patch. can someone please help me on this such that playbook should first check for