]> git.phdru.name Git - ansible.git/commitdiff
Fix(openvpn): Fix condition
authorOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2026 11:07:59 +0000 (14:07 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2026 11:07:59 +0000 (14:07 +0300)
playbooks/roles/openvpn/tasks/main.yaml

index 4712070b7c23308ef817441fe2e05513d687a37b..eeb3b49169ac159da5a428f86da87ac6a01fac44 100644 (file)
@@ -5,7 +5,7 @@
 
 - debug:
     msg: "User openvpn has already been created"
-  when: openvpn_exists.stdout == "0"
+  when: openvpn_exists.stdout != "0"
 
 - name: Create and setup user openvpn
   block: