Ensure git_root folder exists

this will actually allow for custom ANSIBLE_INSTALL_ROOT.

Change-Id: I67c5d2c671368b0e645b8ced867fa388fd6c29eb
Closes-Bug: #1647360
This commit is contained in:
Pavlo Shchelokovskyy 2016-12-05 13:51:53 +00:00
parent ee38716d16
commit 7a6fa591a1

View File

@ -13,6 +13,13 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
--- ---
- name: ensure installation root folder exists
file:
state: directory
dest: "{{ git_root }}"
owner: "{{ ansible_user_id }}"
group: "{{ ansible_user_gid }}"
- name: "Download via GIT" - name: "Download via GIT"
include: git_download.yaml include: git_download.yaml
when: ci_testing_zuul | bool == false and copy_from_local_path | bool == false when: ci_testing_zuul | bool == false and copy_from_local_path | bool == false