Commit cd422763 by ansible

Add "create dmaConfiguration.property"

1 parent 1917d53f
Showing with 13 additions and 5 deletions
---
- hosts: dhipaya
become: true
vars:
dmapublishURL: 'publishUrl = https://tipeasy.dhipaya.co.th'
tasks:
- name: Test Dhipaya Configuration
command: cat /etc/hosts
- name: Update DMA publish URL
command: cat '{{ dmapublishURL }}' > /opt/stack/dma/conf/dmaconfig.properties
- hosts: blueprint
become: true
vars:
dmapublishURL: 'publishUrl = https://bpchat.beebuddy.net'
tasks:
- name: Test Blueprint Configuration
command: cat /etc/hosts
\ No newline at end of file
- file:
path: /opt/stack/dma/conf/dmaconfig.properties
state: file
mode: 0644
- name: Update DMA publish URL
command: cat '{{ dmapublishURL }}' > /opt/stack/dma/conf/dmaconfig.properties
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!