Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Trust and Identity Incubator
mdx-saas-config
Commits
22c90ba3
Commit
22c90ba3
authored
Mar 23, 2022
by
Martin van Es
Browse files
WIP
parent
74ae0158
Changes
3
Hide whitespace changes
Inline
Side-by-side
inventory/inventory
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
...
...
inventory/local
0 → 100644
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
roles/geodns/templates/geodns-update.service.j2
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]
...
...
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