1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
3 # Copyright (c) 2018 Ericsson AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 - name: clone OSM devops repo and checkout version {{ osm_devops_version }}
11 become_user: "{{ osm_install_user }}"
14 repo: "{{ osm_devops_git_url }}"
15 dest: "{{ osm_devops_clone_location }}"
16 version: "{{ osm_devops_version }}"
19 become_user: "{{ osm_install_user }}"
21 command: "/bin/bash ./install_osm.sh -y --nolxd"
23 chdir: "{{ osm_devops_clone_location }}/installers"
24 creates: "/usr/bin/osm"
26 - name: create osmrc file
28 dest: "{{ osmrc_file_dest }}"
30 export OSM_HOSTNAME=127.0.0.1