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
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
2ba2cd76
Commit
2ba2cd76
authored
Mar 31, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/ors: patch for callbox
parent
37669985
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
115 additions
and
5 deletions
+115
-5
playbook/roles/ors/files/slapuser-sdr-util
playbook/roles/ors/files/slapuser-sdr-util
+100
-0
playbook/roles/ors/tasks/main.yml
playbook/roles/ors/tasks/main.yml
+15
-5
No files found.
playbook/roles/ors/files/slapuser-sdr-util
0 → 100644
View file @
2ba2cd76
slapuser0 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser1 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser2 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser3 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser4 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser5 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser6 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser7 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser8 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser9 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser10 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser11 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser12 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser13 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser14 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser15 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser16 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser17 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser18 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser19 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser20 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser21 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser22 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser23 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser24 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser25 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser26 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser27 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser28 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser29 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser30 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser31 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser32 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser33 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser34 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser35 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser36 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser37 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser38 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser39 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser40 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser41 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser42 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser43 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser44 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser45 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser46 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser47 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser48 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser49 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser50 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser51 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser52 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser53 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser54 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser55 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser56 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser57 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser58 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser59 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser60 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser61 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser62 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser63 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser64 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser65 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser66 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser67 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser68 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser69 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser70 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser71 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser72 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser73 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser74 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser75 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser76 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser77 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser78 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser79 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser80 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser81 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser82 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser83 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser84 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser85 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser86 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser87 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser88 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser89 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser90 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser91 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser92 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser93 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser94 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser95 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser96 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser97 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser98 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser99 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
playbook/roles/ors/tasks/main.yml
View file @
2ba2cd76
...
...
@@ -35,7 +35,20 @@
-
name
:
Create a directory if it does not exist
file
:
path=/opt/amarisoft state=directory mode=0755
-
name
:
Copy init-sdr script
-
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
:
Give permission to slapuser to launch sdr-util script
copy
:
src=slapuser-sdr-util 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
-
name
:
Copy init-enb script
...
...
@@ -84,9 +97,6 @@
-
name
:
Configure re6st
script
:
configure-re6st
-
name
:
Configure /etc/network/interfaces
copy
:
src=interfaces dest=/etc/network/interfaces owner=root mode=644
-
name
:
Configure dhcp timeout
lineinfile
:
dest=/etc/dhcp/dhclient.conf regexp="^timeout (.*)" line="timeout 15" state=present
...
...
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