commit | author | age
|
242828
|
1 |
- name: Add tower project |
PS |
2 |
tower_project: |
|
3 |
name: "{{ item.name }}" |
|
4 |
description: "{{ item.description }}" |
|
5 |
organization: "{{ item.organization | default('Default')}}" |
|
6 |
scm_url: "{{ item.scm_url }}" |
|
7 |
scm_type: "{{ item.scm_type | d('git')}}" |
|
8 |
scm_credential: "{{ item.scm_credential | d('')}}" |
|
9 |
scm_branch: "{{ item.scm_branch | d('master') }}" |
|
10 |
scm_update_on_launch: "{{ item.scm_update_on_launch | d('false') }}" |
|
11 |
state: present |
1075c7
|
12 |
tower_host: "{{ tower_hostname }}" |
242828
|
13 |
tower_username: admin |
PS |
14 |
tower_password: "{{tower_admin_password}}" |
|
15 |
tower_verify_ssl: false |
|
16 |
loop: "{{ tower_projects }}" |
|
17 |
tags: |
|
18 |
- tower-project-create |
8ecd12
|
19 |
- name: sleep to update |
P |
20 |
wait_for: |
|
21 |
timeout: 40 |
|
22 |
tags: |
|
23 |
- tower-project-create |