Hi,

Is there a way both ansible and submodules in the same specific version to 
install via git?
We deliver playbooks and ansible to our customers and want to deliver the 
same version (ansible with submodules) that we use also.

For example, I can install 1.9:
# git clone git://github.com/ansible/ansible.git --recursive -b stable-1.9
# cd ansible/
# . hacking/env-setup
# ansible --version
*ansible 1.9.4*
# cat .gitmodules 
[submodule "lib/ansible/modules/core"]
path = lib/ansible/modules/core
url = https://github.com/ansible/ansible-modules-core.git
*branch = stable-1.9*
[submodule "lib/ansible/modules/extras"]
path = lib/ansible/modules/extras
url = https://github.com/ansible/ansible-modules-extras.git
*branch = stable-1.9*
Ansible and submodules have the same release: 1.9

But with version 1.8 it does not work:
# git clone git://github.com/ansible/ansible.git --recursive -b release1.8.2
# . hacking/env-setup
# ansible --version
*ansible 1.8.2*
# cat .gitmodules 
[submodule "lib/ansible/modules/core"]
path = lib/ansible/modules/core
url = https://github.com/ansible/ansible-modules-core.git
*branch = devel*
[submodule "lib/ansible/modules/extras"]
path = lib/ansible/modules/extras
url = https://github.com/ansible/ansible-modules-extras.git
*branch = devel*
[submodule "v2/ansible/modules/core"]
path = v2/ansible/modules/core
url = https://github.com/ansible/ansible-modules-core.git
*branch = devel*
[submodule "v2/ansible/modules/extras"]
path = v2/ansible/modules/extras
url = https://github.com/ansible/ansible-modules-extras.git
*branch = devel*

submodules are *devel* instead of *1.8 *


thanks

alex

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4fa48fe7-da08-42fe-8009-197499bac192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to