Properly detect credentials for tower_project

It seemed like it was mostly the wrong variables been looked at, making
it so a git repository could not be created without a credential.
This commit is contained in:
David Moreau Simard 2018-07-24 11:18:50 -04:00 committed by Brian Coca
commit 934500fb05
2 changed files with 10 additions and 3 deletions

View file

@ -40,3 +40,10 @@
- assert:
that:
- "result is changed"
- name: Create a git project without credentials
tower_project:
name: git project
organization: Default
scm_type: git
scm_url: https://github.com/ansible/ansible