blob: 4f6b990a17560d62ac28a41a7cca5f171edc75bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2018 Venkata Harshavardhan Reddy Allu and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
- name: get OSM installer {{ osm_release_version }}
become_user: "{{ osm_install_user }}"
become: yes
get_url:
url: "https://osm-download.etsi.org/ftp/{{ osm_release_version }}/install_osm.sh"
dest: "/home/{{ osm_install_user }}/install_osm.sh"
mode: u+x
- name: install OSM
become_user: "{{ osm_install_user }}"
become: yes
command: "/bin/bash ./install_osm.sh --nolxd -y "
args:
chdir: "/home/{{ osm_install_user }}"
creates: "/usr/bin/osm"
- name: Create osmrc file
copy:
src: osmrc
dest: "{{ osmrc_file_dest }}"
|