-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
playbook-does-not-work.yml
69 lines (67 loc) · 2.48 KB
/
playbook-does-not-work.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
---
- name: Converge
hosts: instance
become: true
vars:
local_role_name: "ansible-role-aem"
role_name: "{% if lookup('env','ROLE_NAME_FULL') %}{{ lookup('env','ROLE_NAME_FULL') }}{% else %}{{ local_role_name }}{% endif %}"
test_container_name: "aemtest"
pre_tasks:
- name: get docker host ip
become: true
shell: |
set -o pipefail
/sbin/ip route | awk '/default/ { print $3 }'
args:
executable: /bin/bash
register: dockerhost_ip
changed_when: false
roles:
- {
role: "{{ role_name }}",
docker_published_ports: [
"5502:8080",
"59242:58242",
"59345:57345"
],
docker_volumes: [],
docker_container_name: "{{ test_container_name }}",
debug_hide: false,
docker_host: "unix://tmp/docker.sock",
aem_license_key: "{{ service_aem_license_key }}",
aem_license_name: "{{ service_aem_license_name }}",
aem_port: "5502",
aem_host: "{{ dockerhost_ip.stdout }}",
package_files_skip: false,
package_files: [
{
maven_repository_url: "http://{{ dockerhost_ip.stdout }}",
debug_hide: "false",
simple_name: "vanityurls using docker",
group_name: "Adobe",
package_version: "1.0.2",
package_name: "vanityurls-components",
package_url: "https://www.adobeaemcloud.com/content/companies/public/adobe/packages/\
cq600/component/vanityurls-components/jcr%3acontent/package/file.res/vanityurls-components-1.0.2.zip",
file_name: "vanityurls-components-1.0.2.zip",
file_url_username: "{{ service_adobe_cloud_username }}",
file_url_password: "{{ service_adobe_cloud_password }}",
install_package_ansible: false,
install_package_docker: true,
docker_url: "unix://tmp/docker.sock"
},
{
debug_hide: "false",
simple_name: "acs twitter using docker",
group_name: "day_internal/consulting",
package_version: "1.0.0",
package_name: "com.adobe.acs.bundles.twitter4j-content",
package_url: "https://github.com/Adobe-Consulting-Services/com.adobe.acs.bundles.twitter4j/\
releases/download/com.adobe.acs.bundles.twitter4j-1.0.0/com.adobe.acs.bundles.twitter4j-content-1.0.0.zip",
file_name: "com.adobe.acs.bundles.twitter4j-content-1.0.0.zip",
install_package_ansible: false,
install_package_docker: true,
docker_url: "unix://tmp/docker.sock"
}
]
}