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
1ca680a0
Commit
1ca680a0
authored
3 years ago
by
Martin van Es
Browse files
Options
Downloads
Patches
Plain Diff
Move ansible user and key to inventory configuration and
make use of aliases for easier config
parent
13dd5cff
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
ansible.cfg
+1
-2
1 addition, 2 deletions
ansible.cfg
inventory/group_vars/all.yml
+4
-4
4 additions, 4 deletions
inventory/group_vars/all.yml
inventory/inventory
+20
-9
20 additions, 9 deletions
inventory/inventory
with
25 additions
and
15 deletions
ansible.cfg
+
1
−
2
View file @
1ca680a0
[defaults]
gathering
=
smart
remote_user
=
ansible
[privilege_escalation]
become
=
True
[ssh_connection]
pipelining
=
True
ssh_args
=
-o ControlMaster=auto -o ControlPersist=3600s -o StrictHostKeyChecking=false
-i .ssh/id_ansible
ssh_args
=
-o ControlMaster=auto -o ControlPersist=3600s -o StrictHostKeyChecking=false
This diff is collapsed.
Click to expand it.
inventory/group_vars/all.yml
+
4
−
4
View file @
1ca680a0
...
...
@@ -3,7 +3,7 @@
tld
:
srv.mdx.incubator.geant.org
hosts
:
et2
.gndev.hexaa.eu
:
et2
:
hostname
:
srv1
altname
:
'
server-md2.et2.com'
...
...
@@ -20,7 +20,7 @@ hosts:
signer
:
'
http://srv2-signer.srv.mdx.incubator.geant.org'
altname
:
'
edugain-md.et2.com'
mdxcdn
.pt-38.utr.surfcloud.nl
:
mdxcdn
:
hostname
:
srv2
altname
:
'
server-md2.et2.com'
...
...
@@ -36,7 +36,7 @@ hosts:
edugain
:
signer
:
'
http://localhost:5001'
62.217.72.109
:
okeanos
:
hostname
:
srv3
mdproxy
:
...
...
@@ -46,7 +46,7 @@ hosts:
edugain
:
signer
:
'
http://srv2-signer.srv.mdx.incubator.geant.org'
alternative-mdx
.pt-76.utr.surfcloud.nl
:
alternative-mdx
:
hostname
:
srv4
altname
:
'
server-md.example.com'
...
...
This diff is collapsed.
Click to expand it.
inventory/inventory
+
20
−
9
View file @
1ca680a0
# Inventory Aliases
# 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
alternative-mdx ansible_host=alternative-mdx.pt-76.utr.surfcloud.nl ansible_user=ansible ansible_ssh_private_key_file=.ssh/id_ansible
okeanos ansible_host=62.217.72.109 ansible_user=ansible ansible_ssh_private_key_file=.ssh/id_ansible
# Hosts that receive the mdserver role
[mdserver]
et2
.gndev.hexaa.eu
mdxcdn
.pt-38.utr.surfcloud.nl
alternative-mdx
.pt-76.utr.surfcloud.nl
et2
mdxcdn
alternative-mdx
# Hosts that receive the mdproxy role
[mdproxy]
et2
.gndev.hexaa.eu
mdxcdn
.pt-38.utr.surfcloud.nl
alternative-mdx
.pt-76.utr.surfcloud.nl
62.217.72.109
et2
mdxcdn
alternative-mdx
okeanos
# Hosts that receive the GeoDNS role
[geodns]
et2
.gndev.hexaa.eu
mdxcdn
.pt-38.utr.surfcloud.nl
et2
mdxcdn
# All hosts for base role
[all:children]
mdserver
mdproxy
...
...
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