Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
common-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9c5082fd
authored
Feb 01, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Download Method from downloading All Git Tag to downloading Based on Group Name
1 parent
c603c0b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
6 deletions
download_application_from_tag.yml
download_application_from_tag.yml
View file @
9c5082f
---
---
-
hosts
:
all
-
hosts
:
tag_develop
become
:
true
become
:
true
tasks
:
tasks
:
-
git
:
-
git
:
...
@@ -7,33 +7,59 @@
...
@@ -7,33 +7,59 @@
dest
:
/tmp/develop/application
dest
:
/tmp/develop/application
version
:
develop
version
:
develop
-
hosts
:
tag_dhipaya.prd
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/dhipaya.prd/application
dest
:
/tmp/dhipaya.prd/application
version
:
dhipaya.prd
version
:
dhipaya.prd
-
hosts
:
tag_dhipaya.dev
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/dhipaya.dev/application
dest
:
/tmp/dhipaya.dev/application
version
:
dhipaya.dev
version
:
dhipaya.dev
-
hosts
:
tag_deves.prd.3.0.5
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/deves.prd.3.0.5/application
dest
:
/tmp/deves.prd.3.0.5/application
version
:
deves.prd.3.0.5
version
:
deves.prd.3.0.5
-
hosts
:
tag_dma.3.0.6
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/dma.3.0.6/application
dest
:
/tmp/dma.3.0.6/application
version
:
dma.3.0.6
version
:
dma.3.0.6
-
hosts
:
tag_dma.3.1.0
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/dma.3.1.0/application
dest
:
/tmp/dma.3.1.0/application
version
:
dma.3.1.0
version
:
dma.3.1.0
-
hosts
:
tag_dma.3.1.2
become
:
true
tasks
:
-
git
:
-
git
:
repo
:
'
https://ansible@example.com/ansible/application.git'
repo
:
'
https://ansible@example.com/ansible/application.git'
dest
:
/tmp/dma.3.1.2/application
dest
:
/tmp/dma.3.1.2/application
version
:
dma.3.1.2
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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment