-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtesting.yml
70 lines (54 loc) · 1.88 KB
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
# ####################################################################################
# This is the main playbook, which is used to call all the roles that will allow the
# installation of Oracle JDK, Oracle Weblogic and Oracle SOA
# ####################################################################################
#- hosts: soa-admin
# remote_user: "{{ oracle_user }}"
# tasks:
# - name: Name
# debug:
# msg: "{{ soa_binaries['weblogic12214']['name'] }}"
# - name: Version
# debug:
# msg: "{{ soa_binaries['weblogic12214']['version'] }}"
# - name: staging
# debug:
# msg: "{{ soa_binaries['weblogic12214']['staging'] }}"
# - name: installer_name
# debug:
# msg: "{{ soa_binaries['weblogic12214']['installer_name'] }}"
# - name: package
# debug:
# msg: "{{ soa_binaries['weblogic12214']['patches']['p1']['package'] }}"
# - name: Looping dictionaries
# debug:
# msg:
# - "{{ item.staging }}"
# with_items:
# - "{{ soa_installers }}"
# - name: Setting list RCU components
# set_fact:
# list_components: "{{ soa_domain | json_query('[][].rcu[].components[]') | join(' ') }}"
# - name: Show
# debug:
# msg: "{{ list_components }}"
#- include_role:
# name: directories
# - include_role:
# name: pack
- hosts: soa-admin:soa-admin
remote_user: "{{ oracle_user }}"
tasks:
# - name: Testing template for WLDT
# template:
# src: inventories/dev/group_vars/all/AteneaDomainModel.yaml
# dest: "/tmp/AteneaDomainModel.yaml"
# - include_role:
# name: installation
- name: Testing querying model file
set_fact:
domainName: "{{ [topology] | json_query('[].Name') | join(' ') }}"
- name: Show
debug:
msg: "{{ domainName }}"