Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ai3
float
Commits
c534e127
Commit
c534e127
authored
5 months ago
by
ale
Browse files
Options
Downloads
Plain Diff
Merge branch 'optional-geoip' into 'master'
Do not install geoipupdate unless geoip_account_id is defined See merge request
!305
parents
7e37a32b
09fffc64
Branches
Branches containing commit
No related tags found
1 merge request
!305
Do not install geoipupdate unless geoip_account_id is defined
Pipeline
#80160
passed
5 months ago
Stage: docker_build
Stage: test
Changes
2
Pipelines
12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/float-util-geoip-base/tasks/main.yml
+1
-0
1 addition, 0 deletions
roles/float-util-geoip-base/tasks/main.yml
roles/float-util-geoip-dataset/tasks/main.yml
+2
-0
2 additions, 0 deletions
roles/float-util-geoip-dataset/tasks/main.yml
with
3 additions
and
0 deletions
roles/float-util-geoip-base/tasks/main.yml
+
1
−
0
View file @
c534e127
...
...
@@ -4,5 +4,6 @@
apt
:
name
:
geoipupdate
state
:
present
when
:
geoip_account_id is defined
This diff is collapsed.
Click to expand it.
roles/float-util-geoip-dataset/tasks/main.yml
+
2
−
0
View file @
c534e127
...
...
@@ -16,3 +16,5 @@
dest
:
"
/etc/cron.d/geoipupdate_{{
item
}}"
content
:
"
12
0
*
*
5
root
/usr/local/bin/splay
3600
&&
/usr/bin/geoipupdate
-f
/etc/GeoIP_{{
item
}}.conf
\n
"
with_items
:
"
{{
geoip_dataset
}}"
when
:
geoip_account_id is defined
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