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