Commit 9c5082fd by ansible

Change Download Method from downloading All Git Tag to downloading Based on Group Name

1 parent c603c0b0
Showing with 28 additions and 1 deletions
---
- hosts: all
- hosts: tag_develop
become: true
tasks:
- git:
......@@ -7,33 +7,59 @@
dest: /tmp/develop/application
version: develop
- hosts: tag_dhipaya.prd
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dhipaya.prd/application
version: dhipaya.prd
- hosts: tag_dhipaya.dev
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dhipaya.dev/application
version: dhipaya.dev
- hosts: tag_deves.prd.3.0.5
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/deves.prd.3.0.5/application
version: deves.prd.3.0.5
- hosts: tag_dma.3.0.6
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dma.3.0.6/application
version: dma.3.0.6
- hosts: tag_dma.3.1.0
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dma.3.1.0/application
version: dma.3.1.0
- hosts: tag_dma.3.1.2
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dma.3.1.2/application
version: dma.3.1.2
- hosts: tag_dma.3.1.4
become: true
tasks:
- git:
repo: 'https://ansible@example.com/ansible/application.git'
dest: /tmp/dma.3.1.4/application
version: dma.3.1.4
\ 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!