syncing
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
- name: setup deploy_application.yml demo
|
|
||||||
hosts: localhost
|
|
||||||
gather_facts: false
|
|
||||||
become: yes
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Conditional role
|
|
||||||
include_role:
|
|
||||||
name: "{{playbook_dir}}/../deploy_application"
|
|
||||||
11
playbooks/install_deploy_application.yml
Normal file
11
playbooks/install_deploy_application.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- name: setup deploy application demo
|
||||||
|
hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
connection: local
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: install demo
|
||||||
|
include_role:
|
||||||
|
name: "../roles/deploy_application"
|
||||||
@@ -1,18 +1,27 @@
|
|||||||
---
|
---
|
||||||
- name: setup deploy_application.yml demo
|
- name: add tower project
|
||||||
hosts: localhost
|
tower_project:
|
||||||
gather_facts: false
|
name: "Ansible official demo project"
|
||||||
become: yes
|
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||||
tasks:
|
organization: "Default"
|
||||||
|
scm_type: git
|
||||||
|
scm_url: https://github.com/ansible/product-demos
|
||||||
|
tower_username: "{{my_tower_username}}"
|
||||||
|
tower_password: "{{my_tower_password}}"
|
||||||
|
tower_host: "{{my_tower_host}}"
|
||||||
|
validate_certs: no
|
||||||
|
|
||||||
- name: add tower project
|
- name: add deploy application job template
|
||||||
tower_project:
|
tower_job_template:
|
||||||
name: "Ansible official demo project"
|
name: "Deploy Application (survey)"
|
||||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
job_type: "run"
|
||||||
organization: "Default"
|
inventory: "Workshop Inventory"
|
||||||
scm_type: git
|
project: "Ansible official demo project"
|
||||||
scm_url: https://github.com/ansible/product-demos
|
playbook: "roles/deploy_application/tasks/deploy_application.yml"
|
||||||
tower_username: "{{my_tower_username}}"
|
credential: "Demo Credential"
|
||||||
tower_password: "{{my_tower_password}}"
|
tower_username: "{{my_tower_username}}"
|
||||||
tower_host: "{{my_tower_host}}"
|
tower_password: "{{my_tower_password}}"
|
||||||
validate_certs: no
|
tower_host: "{{my_tower_host}}"
|
||||||
|
validate_certs: no
|
||||||
|
# survey_enabled: yes
|
||||||
|
# survey_spec: "{{ lookup('file', 'my_survey.json') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user