Removed the ! operator for conditionals

Removed the not operator and replaced it with an equality check, as
ansible does not appear to be able to handle this.