mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
504 B
YAML
28 lines
504 B
YAML
7 years ago
|
- name: Create an SCM Credential
|
||
|
tower_credential:
|
||
|
name: SCM Credential for Project
|
||
|
organization: Default
|
||
|
kind: scm
|
||
|
|
||
|
- name: Create a Project
|
||
|
tower_project:
|
||
|
name: my-project
|
||
|
organization: Default
|
||
|
state: present
|
||
|
scm_credential: SCM Credential for Project
|
||
|
register: result
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- "result is changed"
|
||
|
|
||
|
- name: Delete a Project
|
||
|
tower_project:
|
||
|
name: my-project
|
||
|
state: absent
|
||
|
register: result
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- "result is changed"
|