Demo entry 3565635

ansible yaml

   

Submitted by anonymous on Jan 27, 2016 at 12:32
Language: YAML. Code size: 914 Bytes.

---
- name: Make sure {{deployerTempDir}}/esb exists.
  file: path="{{deployerTempDir}}/esb" state=directory mode=0755

- name: Unzip esb distribution
  local_action: command unzip -o -q "{{deployerTempDir}}/distribution-{{distributionVersion}}.zip" "packages/install-{{distributionVersion}}-esb-distribution.zip" -d "{{deployerTempDir}}/esb/"

- name: Unzip etc/evolv.properties from esb distribution
  local_action: command unzip -o -q "{{deployerTempDir}}/esb/packages/install-{{distributionVersion}}-esb-distribution.zip" "etc/evolv.properties" -d "{{deployerTempDir}}/esb/"

- include: "{{playbook_dir}}/common/tasks/setupProperties.yml"
  vars:
    extractionType: "general"
    propertyFile: "{{deployerTempDir}}/{{environmentName}}/{{environmentName}}.properties"
    targetModule: "esb"
    targetSection: "evolv.properties"
    targetFile: "{{deployerTempDir}}/esb/etc/evolv.properties"

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).