From 8f81889c20c55d31d16ccdca36c1cdf73add6d4d Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 14 Nov 2015 13:38:45 +0200 Subject: [PATCH] - Fetch Ansible modules as a git submodule (update README accordingly). --- .gitmodules | 3 +++ README.rst | 6 ++++-- library/shore | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 library/shore diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..af90588 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "library/shore"] + path = library/shore + url = https://www.shore.co.il/cgit/ansible-modules diff --git a/README.rst b/README.rst index 3087e99..0daa3b8 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,9 @@ Ansible playbooks My homelab playground. A repository of infrastructure using Virtualbox, Vagrant, Landrush and Ansible. The actual Ansible roles are each located in a repository -of its own (which is ansible-galaxy installable). +of its own (which is ansible-galaxy installable) and the Ansible modules are +from the `ansible-modules git repo +<https://www.shore.co.il/cgit/ansible-modules>`_. Requirements @@ -18,7 +20,7 @@ Getting started --------------- :: - git clone https://www.shore.co.il/cgit/ansible-playbooks + git clone --recursive https://www.shore.co.il/cgit/ansible-playbooks cd ansible-playbooks ansible-galaxy install -r requirements.yml vagrant up diff --git a/library/shore b/library/shore new file mode 160000 index 0000000..c58a439 --- /dev/null +++ b/library/shore @@ -0,0 +1 @@ +Subproject commit c58a439873936f2c803f7a74f6dfd2b78162b44f -- GitLab