Hi,
To manage ldap entry ( via new ansible modules ldap_attr and ldap_entry ) i
need a different uidNumber than already exist
to making it i'm doing these jobs :
- name: Initialize an empty list for our strings
set_fact:
uidRange: []
- name: create array
set_fact: uidRange="{{ uidRange }} + [ {{ item| to_json }} ]"
with_sequence: start=5000 end=6000
then on my code, i making a array difference with uidNumber already exist (
via* ansible-plugin-lookup_ldap
<https://github.com/quinot/ansible-plugin-lookup_ldap>*
) ( uidNumber="{{ uidRange| difference(uidUsed) |min }}" )
But i'm not fully satify as the task "create array" create lot of output
adding the option "no_log: True" is not helping it's replace all
iteration with censored due to no_log
Do you known how to disable output of a task or have you a better way to
create a array of integer ?
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b765de62-8914-487b-8bee-ebe4fd3943c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.