Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notebooks-operations
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Commits
55940e8f
Commit
55940e8f
authored
1 year ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Setup postfix - specific relay for some sites
parent
d945ee08
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cesnet-central/playbooks/k8s.yaml
+18
-0
18 additions, 0 deletions
cesnet-central/playbooks/k8s.yaml
with
18 additions
and
0 deletions
cesnet-central/playbooks/k8s.yaml
+
18
−
0
View file @
55940e8f
...
...
@@ -46,11 +46,29 @@
dest
:
/etc/cron-apt/action.d/9-upgrade
content
:
-q -q dist-upgrade
mode
:
0644
-
name
:
Site setup postfix
vars
:
main
:
myhostname
:
"
{{
lookup('dig',
groups['fip'][0]
+
'/PTR')
|
regex_replace('
\\
.$',
'')
}}"
relayhost
:
relay.muni.cz
inet_protocols
:
ipv4
lineinfile
:
regexp
:
'
^{{
item.key
}}\s*=\s*.*'
line
:
"
{{
item.key
}}
=
{{
item.value
}}"
path
:
/etc/postfix/main.cf
loop
:
"
{{
main
|
dict2items
}}"
notify
:
Reload postfix
when
:
site_name == "cesnet" or site_name == "cesnet-mcc"
-
name
:
Site touch
file
:
path
:
"
/EOSC-{{
site_name
|
upper
}}"
state
:
touch
mode
:
0644
handlers
:
-
name
:
Reload postfix
service
:
name
:
postfix
state
:
reloaded
-
name
:
NFS server
hosts
:
nfs
...
...
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