Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.package
Commits
bd47bb60
Commit
bd47bb60
authored
Jun 27, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/ors: add get-sdr-info script and change sudoers configuration
parent
fa5fe656
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
285 additions
and
321 deletions
+285
-321
playbook/roles/ors/files/configure-sudoers
playbook/roles/ors/files/configure-sudoers
+15
-0
playbook/roles/ors/files/get-sdr-info
playbook/roles/ors/files/get-sdr-info
+256
-0
playbook/roles/ors/files/slapuser-init-enb
playbook/roles/ors/files/slapuser-init-enb
+0
-100
playbook/roles/ors/files/slapuser-init-sdr
playbook/roles/ors/files/slapuser-init-sdr
+0
-100
playbook/roles/ors/files/slapuser-rm-tmp
playbook/roles/ors/files/slapuser-rm-tmp
+0
-100
playbook/roles/ors/tasks/main.yml
playbook/roles/ors/tasks/main.yml
+13
-20
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/ors/files/configure-sudoers
0 → 100755
View file @
bd47bb60
#!/bin/bash
COMMAND_LIST
=(
"rm-tmp-lte"
"init-enb"
"init-sdr"
"get-sdr-info"
)
PARTITION_AMOUNT
=
"
$(
sed
-n
's/partition_amount = \(.*\)/\1/gp'
/etc/opt/slapos/slapos.cfg
)
"
for
c
in
"
${
COMMAND_LIST
[@]
}
"
;
do
SLAPUSER_LINES
=
"
$(
cat
/etc/sudoers.d/slapuser-
$c
2> /dev/null |
wc
-l
)
"
if
[
"
$SLAPUSER_LINES
"
!=
"
$PARTITION_AMOUNT
"
]
;
then
echo
"Configuring /etc/sudoers.d/slapuser-
$c
..."
for
i
in
$(
seq
0
$((
$PARTITION_AMOUNT
-
1
))
)
;
do
echo
"slapuser
$i
ALL=NOPASSWD:/opt/amarisoft/
$c
"
>>
slapuser-
$c
done
mv
slapuser-
$c
/etc/sudoers.d/
chmod
440 /etc/sudoers.d/slapuser-
$c
fi
done
exit
playbook/roles/ors/files/get-sdr-info
0 → 100755
View file @
bd47bb60
#!/bin/bash
ORS
=
"
$(
hostname
|
sed
's/ors\(.*\)/\1/g'
)
"
case
"
$ORS
"
in
0
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A0"
;;
1
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A1"
;;
2
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A2"
;;
3
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A3"
;;
4
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A4"
;;
5
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B49"
;;
6
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A7"
;;
8
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A8"
;;
9
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B27"
;;
10
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B22"
;;
11
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B44"
;;
13
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
14
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B24"
;;
15
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B41"
;;
16
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B43"
;;
17
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B46"
;;
18
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B47"
;;
19
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
20
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B33"
;;
21
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B42"
;;
22
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B30"
;;
23
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B48"
;;
24
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B34"
;;
25
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B18"
;;
26
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B31"
;;
27
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B38"
;;
28
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B35"
;;
29
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
30
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B50"
;;
31
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B51"
;;
32
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
33
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
34
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
35
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
36
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
37
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B65"
;;
38
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B60"
;;
39
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B61"
;;
40
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B64"
;;
41
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B57"
;;
42
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B26"
;;
43
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B29"
;;
44
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B36"
;;
45
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B37"
;;
46
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B39"
;;
47
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B28"
;;
48
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B66"
;;
49
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B67"
;;
50
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B23"
;;
51
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B59"
;;
52
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B56"
;;
53
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B58"
;;
54
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B68"
;;
55
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B52"
;;
56
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B5"
;;
57
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B25"
;;
58
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B70"
;;
59
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B71"
;;
60
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B72"
;;
61
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A5"
;;
62
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A6"
;;
63
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B73"
;;
64
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B74"
;;
65
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B75"
;;
66
)
TDD
=
"TDD"
;
BAND
=
"N79"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F4"
;;
67
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B20"
;;
68
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D1"
;;
69
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B3"
;;
70
)
TDD
=
"UNKNOWN"
;
BAND
=
"UNKNOWN"
;
VERSION
=
"UNKNOWN"
;
ISERIAL
=
"UNKNOWN"
;;
700
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B0"
;;
71
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B77"
;;
72
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B78"
;;
73
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B79"
;;
74
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B80"
;;
75
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D2"
;;
76
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B1"
;;
77
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B81"
;;
78
)
TDD
=
"FDD"
;
BAND
=
"B28"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E4"
;;
79
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D22"
;;
80
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D11"
;;
81
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D3"
;;
82
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D23"
;;
83
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D25"
;;
84
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D24"
;;
85
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D12"
;;
86
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
87
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D13"
;;
88
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D14"
;;
89
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D18"
;;
90
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D6"
;;
91
)
TDD
=
"FDD"
;
BAND
=
"B28"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E1"
;;
92
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D29"
;;
93
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D26"
;;
94
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D16"
;;
96
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D19"
;;
97
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D15"
;;
98
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D20"
;;
99
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D17"
;;
100
)
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F1"
;;
101
)
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F2"
;;
102
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B76"
;;
103
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E7"
;;
*
)
TDD
=
"UNKNOWN"
;
BAND
=
"UNKNOWN"
;
VERSION
=
"UNKNOWN"
;
ISERIAL
=
"UNKNOWN"
;;
esac
if
[[
"
$TDD
"
==
"UNKNOWN"
]]
;
then
IPRODUCT
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iProduct.*ORS \(.*\)$/\1/gp'
)
"
ISERIAL
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iSerial *[0-9]* \(.*\)$/\1/gp'
)
"
test
-z
"
$IPRODUCT
"
&&
IPRODUCT
=
"TDDUNKNOWN v3.2"
;
test
-z
"
$ISERIAL
"
&&
ISERIAL
=
"UNKNOWN"
;
TDD
=
"
${
IPRODUCT
[@]
:0:3
}
"
IPRODUCT
=
"
${
IPRODUCT
[@]
:3
}
"
BAND
=
"
${
IPRODUCT
%% *
}
"
VERSION
=
"
${
IPRODUCT
##*
}
"
fi
usage
()
{
cat
<<
ENDUSAGE
Usage:
$0
[-tbvs]
-t TDD or FDD
-b Band (e.g. B39)
-v Version (e.g. v4.2)
-s Serial number (e.g. B53)
ENDUSAGE
1>&2
;
}
while
getopts
"tbvsh"
opt
;
do
case
"
${
opt
}
"
in
h
)
usage
;
exit
1
;
;;
t
)
echo
-n
$TDD
;
;;
b
)
echo
-n
$BAND
;
;;
v
)
echo
-n
$VERSION
;
;;
s
)
echo
-n
$ISERIAL
;
;;
*
)
usage
;
exit
1
;
;;
esac
done
playbook/roles/ors/files/slapuser-init-enb
deleted
100644 → 0
View file @
fa5fe656
slapuser0 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser1 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser2 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser3 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser4 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser5 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser6 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser7 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser8 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser9 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser10 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser11 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser12 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser13 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser14 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser15 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser16 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser17 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser18 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser19 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser20 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser21 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser22 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser23 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser24 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser25 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser26 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser27 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser28 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser29 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser30 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser31 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser32 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser33 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser34 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser35 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser36 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser37 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser38 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser39 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser40 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser41 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser42 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser43 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser44 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser45 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser46 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser47 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser48 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser49 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser50 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser51 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser52 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser53 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser54 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser55 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser56 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser57 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser58 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser59 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser60 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser61 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser62 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser63 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser64 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser65 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser66 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser67 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser68 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser69 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser70 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser71 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser72 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser73 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser74 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser75 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser76 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser77 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser78 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser79 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser80 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser81 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser82 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser83 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser84 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser85 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser86 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser87 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser88 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser89 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser90 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser91 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser92 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser93 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser94 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser95 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser96 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser97 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser98 ALL=NOPASSWD:/opt/amarisoft/init-enb
slapuser99 ALL=NOPASSWD:/opt/amarisoft/init-enb
playbook/roles/ors/files/slapuser-init-sdr
deleted
100644 → 0
View file @
fa5fe656
slapuser0 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser1 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser2 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser3 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser4 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser5 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser6 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser7 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser8 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser9 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser10 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser11 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser12 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser13 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser14 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser15 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser16 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser17 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser18 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser19 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser20 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser21 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser22 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser23 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser24 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser25 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser26 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser27 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser28 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser29 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser30 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser31 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser32 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser33 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser34 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser35 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser36 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser37 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser38 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser39 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser40 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser41 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser42 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser43 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser44 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser45 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser46 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser47 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser48 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser49 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser50 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser51 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser52 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser53 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser54 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser55 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser56 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser57 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser58 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser59 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser60 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser61 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser62 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser63 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser64 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser65 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser66 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser67 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser68 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser69 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser70 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser71 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser72 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser73 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser74 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser75 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser76 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser77 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser78 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser79 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser80 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser81 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser82 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser83 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser84 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser85 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser86 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser87 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser88 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser89 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser90 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser91 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser92 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser93 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser94 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser95 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser96 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser97 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser98 ALL=NOPASSWD:/opt/amarisoft/init-sdr
slapuser99 ALL=NOPASSWD:/opt/amarisoft/init-sdr
playbook/roles/ors/files/slapuser-rm-tmp
deleted
100644 → 0
View file @
fa5fe656
slapuser0 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser1 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser2 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser3 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser4 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser5 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser6 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser7 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser8 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser9 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser10 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser11 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser12 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser13 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser14 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser15 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser16 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser17 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser18 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser19 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser20 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser21 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser22 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser23 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser24 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser25 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser26 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser27 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser28 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser29 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser30 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser31 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser32 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser33 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser34 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser35 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser36 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser37 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser38 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser39 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser40 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser41 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser42 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser43 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser44 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser45 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser46 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser47 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser48 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser49 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser50 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser51 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser52 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser53 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser54 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser55 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser56 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser57 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser58 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser59 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser60 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser61 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser62 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser63 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser64 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser65 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser66 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser67 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser68 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser69 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser70 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser71 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser72 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser73 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser74 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser75 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser76 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser77 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser78 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser79 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser80 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser81 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser82 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser83 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser84 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser85 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser86 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser87 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser88 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser89 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser90 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser91 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser92 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser93 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser94 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser95 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser96 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser97 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser98 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
slapuser99 ALL=NOPASSWD:/opt/amarisoft/rm-tmp-lte
playbook/roles/ors/tasks/main.yml
View file @
bd47bb60
...
@@ -32,29 +32,20 @@
...
@@ -32,29 +32,20 @@
-
name
:
Enable and start cron.service
-
name
:
Enable and start cron.service
systemd
:
name=cron.service enabled=yes state=started
systemd
:
name=cron.service enabled=yes state=started
-
name
:
Install rm-tmp-lte scrip
t
-
name
:
Create a directory if it does not exis
t
copy
:
src=rm-tmp-lte dest={{ install_folder }} owner=root mode=770
file
:
path=/opt/amarisoft state=directory mode=0755
-
name
:
Give permission to slapuser to remove tmp files owned by other slapuser
-
name
:
Copy init-sdr script
copy
:
src=slapuser-rm-tmp dest=/etc/sudoers.d owner=root mode=440
-
name
:
Give permission to slapuser to launch init-sdr script
copy
:
src=slapuser-init-sdr dest=/etc/sudoers.d owner=root mode=440
-
name
:
Give permission to slapuser to launch init-enb script
copy
:
src=slapuser-init-enb dest=/etc/sudoers.d owner=root mode=440
-
name
:
Check if /opt/amarisoft exists
stat
:
path=/opt/amarisoft
register
:
opt_amarisoft
-
name
:
Copy init SDR script
copy
:
src=init-sdr dest=/opt/amarisoft owner=root mode=770
copy
:
src=init-sdr dest=/opt/amarisoft owner=root mode=770
when
:
opt_amarisoft.stat.exists
-
name
:
Copy init
eNB
script
-
name
:
Copy init
-enb
script
copy
:
src=init-enb dest=/opt/amarisoft owner=root mode=770
copy
:
src=init-enb dest=/opt/amarisoft owner=root mode=770
when
:
opt_amarisoft.stat.exists
-
name
:
Copy rm-tmp-lte script
copy
:
src=rm-tmp-lte dest=/opt/amarisoft owner=root mode=770
-
name
:
Copy get-sdr-info script
copy
:
src=get-sdr-info dest=/opt/amarisoft owner=root mode=770
-
name
:
Check if Service Exists
-
name
:
Check if Service Exists
stat
:
path=/etc/init.d/init-sdr
stat
:
path=/etc/init.d/init-sdr
...
@@ -71,7 +62,6 @@
...
@@ -71,7 +62,6 @@
-
name
:
Get Amarisoft path
-
name
:
Get Amarisoft path
shell
:
'
find
/opt/amarisoft
-maxdepth
1
|
grep
"^/opt/amarisoft/v[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}$"
|
sort
|
tail
-n1'
shell
:
'
find
/opt/amarisoft
-maxdepth
1
|
grep
"^/opt/amarisoft/v[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}$"
|
sort
|
tail
-n1'
register
:
amarisoft_path
register
:
amarisoft_path
when
:
opt_amarisoft.stat.exists
-
name
:
Check if lteenb has capabilities
-
name
:
Check if lteenb has capabilities
shell
:
'
getcap
{{
amarisoft_path.stdout
}}/enb/lteenb
|
grep
-q
cap_sys_nice'
shell
:
'
getcap
{{
amarisoft_path.stdout
}}/enb/lteenb
|
grep
-q
cap_sys_nice'
...
@@ -112,6 +102,9 @@
...
@@ -112,6 +102,9 @@
-
name
:
Configure slapos
-
name
:
Configure slapos
script
:
configure-slapos.py
script
:
configure-slapos.py
-
name
:
Configure sudoers
script
:
configure-sudoers
-
name
:
Create .amarisoft directory for SR
-
name
:
Create .amarisoft directory for SR
file
:
path=/opt/amarisoft/.amarisoft state=directory
file
:
path=/opt/amarisoft/.amarisoft state=directory
...
...
playbook/sha256sum
View file @
bd47bb60
9725072bfe7d358e74846d1a4f3b6e392ede3d54fc635b47a8a8ece190f1b985
-
a402c6a55792632b51a6f9b636623af8f4f48a0db955525a8236cce9da64065b
-
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment