We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.2.0 Running playbook with task for deploying security policies: - name: Deploy Security Policies to NSX-T vmware.ansible_for_nsxt.nsxt_policy_security_policy: output: :117: SyntaxWarning: invalid escape sequence '\w' :120: SyntaxWarning: invalid escape sequence '\w'
No syntaxwarning in output
I have traced the 117 and 120 lines:
grep -rn '\\w' .ansible/collections/ansible_collections/vmware/ .ansible/collections/ansible_collections/vmware//ansible_for_nsxt/plugins/module_utils/vmware_nsxt.py:117: if re.match("-+BEGIN[ \w]+PRIVATE[ ]+KEY-+", string): .ansible/collections/ansible_collections/vmware//ansible_for_nsxt/plugins/module_utils/vmware_nsxt.py:120: elif re.match("-+END[ \w]+PRIVATE[ ]+KEY-+", string):
The text was updated successfully, but these errors were encountered:
here is a patch ansible-for-nsxt-invalid_escape_sequence.txt
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
v3.2.0
Running playbook with task for deploying security policies:
- name: Deploy Security Policies to NSX-T
vmware.ansible_for_nsxt.nsxt_policy_security_policy:
output:
:117: SyntaxWarning: invalid escape sequence '\w'
:120: SyntaxWarning: invalid escape sequence '\w'
Reproduction steps
...
Expected behavior
No syntaxwarning in output
Additional context
I have traced the 117 and 120 lines:
The text was updated successfully, but these errors were encountered: