Commit cd422763 by ansible

Add "create dmaConfiguration.property"

1 parent 1917d53f
Showing with 13 additions and 5 deletions
--- ---
- hosts: dhipaya - hosts: dhipaya
become: true become: true
vars:
dmapublishURL: 'publishUrl = https://tipeasy.dhipaya.co.th'
tasks: tasks:
- name: Test Dhipaya Configuration - name: Update DMA publish URL
command: cat /etc/hosts command: cat '{{ dmapublishURL }}' > /opt/stack/dma/conf/dmaconfig.properties
- hosts: blueprint - hosts: blueprint
become: true become: true
vars:
dmapublishURL: 'publishUrl = https://bpchat.beebuddy.net'
tasks: tasks:
- name: Test Blueprint Configuration - file:
command: cat /etc/hosts path: /opt/stack/dma/conf/dmaconfig.properties
\ No newline at end of file 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!