Hi there,
I did an System update recently and now I get this Python warning:
SyntaxWarning: "is" with a literal. Did you mean "=="?
when I run my playbook. I guess it has to do with conditions like in this
task:
- name: Set users authorized keys
authorized_key:
user: "{{item.0.username}}"
key: "{{item.1}}"
state: "{{state}}"
with_subelements:
- "{{users}}"
- ssh_authorized_keys
when: item.ssh_authorized_keys is defined
Is there another way to set these conditions now or hao can I prevent this
warnings. (The span the output)
Thanks and regards
Matthias
--
EDU-Werkstatt GmbH | Am Friedrichshain 22 | 10407 Berlin
Geschäftsführer: David Hauptmann, Andreas
Grähn
Registergericht: Amtsgericht Berlin (Charlottenburg) | HRB
146423
Telefon: +4930 - 224 1199 -
0 | E-Mail: [email protected] <mailto:[email protected]>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/664ed677-73d2-443c-b8db-bd06ed87240bn%40googlegroups.com.