diff --git a/lib/ansible/cli/__init__.py b/lib/ansible/cli/__init__.py index d64b87597f5..64ab78fb0ab 100644 --- a/lib/ansible/cli/__init__.py +++ b/lib/ansible/cli/__init__.py @@ -601,7 +601,7 @@ class CLI(ABC): try: p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) except OSError as e: - raise AnsibleError("Problem occured when trying to run the password script %s (%s)." + raise AnsibleError("Problem occurred when trying to run the password script %s (%s)." " If this is not a script, remove the executable bit from the file." % (pwd_file, e)) stdout, stderr = p.communicate()