Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MITIK-MGMT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wireless Passive Measurements
Collection management
MITIK-MGMT
Commits
22ea3252
Commit
22ea3252
authored
5 months ago
by
Autodistries
Browse files
Options
Downloads
Patches
Plain Diff
remove debug statements
parent
11577ba6
No related branches found
No related tags found
1 merge request
!1
Refactoring, new features
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
playbooks/start_sens_sniffer.yml
+12
-17
12 additions, 17 deletions
playbooks/start_sens_sniffer.yml
with
12 additions
and
17 deletions
playbooks/start_sens_sniffer.yml
+
12
−
17
View file @
22ea3252
...
...
@@ -7,7 +7,7 @@
-
name
:
_workdir
prompt
:
Enter the folder where the script is and results will be
default
:
"
/home/tribe/mitik-sens
-mod
/"
default
:
"
/home/tribe/mitik-sens/"
private
:
false
# This will always be the mitik-sens folder
...
...
@@ -18,12 +18,12 @@
-
name
:
_hour
prompt
:
Enter an hour to start the experiment
default
:
"
{{
lookup('pipe',
'date
-d
\"
+
2
minutes
\"
+%H')
}}"
default
:
"
{{
lookup('pipe',
'date
-d
\"
+
10
minutes
\"
+%H')
}}"
private
:
false
-
name
:
_minute
prompt
:
Enter minutes to start the experiment
default
:
"
{{
lookup('pipe',
'date
-d
\"
+
2
minutes
\"
+%M')
}}"
default
:
"
{{
lookup('pipe',
'date
-d
\"
+
10
minutes
\"
+%M')
}}"
private
:
false
-
name
:
_pcap_name
...
...
@@ -33,7 +33,7 @@
-
name
:
_timeout
prompt
:
Please specify the runtime duration in sec
default
:
300
default
:
3
6
00
private
:
false
-
name
:
_interfaces_csv
...
...
@@ -70,22 +70,10 @@
-
name
:
_gps_poll_timeout
prompt
:
time in seconds between each location polling
default
:
6
0
default
:
90
0
private
:
false
tasks
:
-
ansible.builtin.set_fact
:
_interfaces
:
"
{{
_interfaces_csv.split(',')}}"
_channels
:
"
{{
_channels_csv.split(',')
}}"
_location_prefix
:
"
{{
_pcap_name
|
replace('?post',
'')
}}"
delegate_to
:
127.0.0.1
run_once
:
true
-
debug
:
var
:
_interfaces_csv
-
debug
:
var
:
_interfaces
-
debug
:
var
:
_interfaces
-
name
:
Double-check input variables
ansible.builtin.assert
:
that
:
"
{{_interfaces
|
length}}
==
{{_channels
|
length}}"
...
...
@@ -93,6 +81,13 @@
run_once
:
true
any_errors_fatal
:
true
-
ansible.builtin.set_fact
:
_interfaces
:
"
{{
_interfaces_csv.split(',')}}"
_channels
:
"
{{
_channels_csv.split(',')
}}"
_location_prefix
:
"
{{
_pcap_name
|
replace('?post',
'')
}}"
delegate_to
:
127.0.0.1
run_once
:
true
-
name
:
Setup future start of sens-sniffer
ansible.builtin.cron
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment