Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mdx-saas-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Trust and Identity Incubator
mdx-saas-config
Commits
22c90ba3
Commit
22c90ba3
authored
3 years ago
by
Martin van Es
Browse files
Options
Downloads
Patches
Plain Diff
WIP
parent
74ae0158
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
inventory/inventory
+0
-3
0 additions, 3 deletions
inventory/inventory
inventory/local
+18
-0
18 additions, 0 deletions
inventory/local
roles/geodns/templates/geodns-update.service.j2
+1
-1
1 addition, 1 deletion
roles/geodns/templates/geodns-update.service.j2
with
19 additions
and
4 deletions
inventory/inventory
+
0
−
3
View file @
22c90ba3
# Inventory Aliases
local ansible_connection=local
# Make sure to change group_vars/all.yml for the same hosts keys
et2 ansible_host=et2.gndev.hexaa.eu ansible_user=ansible ansible_ssh_private_key_file=.ssh/id_ansible
mdxcdn ansible_host=mdxcdn.pt-38.utr.surfcloud.nl ansible_user=ansible ansible_ssh_private_key_file=.ssh/id_ansible
...
...
@@ -22,7 +20,6 @@ okeanos
# Hosts that receive the GeoDNS role
[geodns]
local
et2
mdxcdn
...
...
This diff is collapsed.
Click to expand it.
inventory/local
0 → 100644
+
18
−
0
View file @
22c90ba3
# Inventory Aliases
local ansible_connection=local
# Hosts that receive the mdsigner role
[mdsigner]
# Hosts that receive the mdproxy role
[mdproxy]
# Hosts that receive the GeoDNS role
[geodns]
local
# All hosts for base role
[all:children]
mdsigner
mdproxy
geodns
This diff is collapsed.
Click to expand it.
roles/geodns/templates/geodns-update.service.j2
+
1
−
1
View file @
22c90ba3
...
...
@@ -5,7 +5,7 @@ Description=GeoDNS update
Type=oneshot
WorkingDirectory={{ mdxsaas_dir }}
ExecStart=git pull
ExecStart=
{{ mdxsaas_dir }}/deploy.sh
--tags geodns --limit local
ExecStart=
ansible-playbook playbook.yml -i inventory/local
--tags geodns --limit local
ExecStartPost=/bin/systemctl restart geodns
[Install]
...
...
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