Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_ingest
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
Digital Preservation
ansible_lza_ingest
Compare revisions
5c9a5229f4470a873a7e231b0d41e5de64876101 to 7283a340bb0ee31c734f4ce0bff420e9d24ba4e5
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
digital-preservation/ansible_lza_ingest
Select target project
No results found
7283a340bb0ee31c734f4ce0bff420e9d24ba4e5
Select Git revision
Swap
Target
digital-preservation/ansible_lza_ingest
Select target project
digital-preservation/ansible_lza_ingest
1 result
5c9a5229f4470a873a7e231b0d41e5de64876101
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
feat: combined static mountpoints with host specific list
· 97407caf
Jens Steidl
authored
2 weeks ago
97407caf
feat: added task for host specific read-only mounts
· e847e917
Jens Steidl
authored
2 weeks ago
e847e917
chore: changed to vault with new mountpoints
· 7283a340
Jens Steidl
authored
2 weeks ago
7283a340
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/configure_nfs_mounts.yml
+11
-12
11 additions, 12 deletions
tasks/configure_nfs_mounts.yml
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
with
12 additions
and
13 deletions
tasks/configure_nfs_mounts.yml
View file @
7283a340
...
...
@@ -7,18 +7,8 @@
-
name
:
check if mountpoint directory exists
ansible.builtin.stat
:
path
:
"
{{
item
}}"
loop
:
-
"
{{
paths.access.mountpoint
}}"
-
"
{{
paths.ingest.mountpoint
}}"
-
"
{{
paths.ingest_transfer.mountpoint
}}"
-
"
{{
paths.import.mountpoint
}}"
-
"
{{
paths.import_transfer.mountpoint
}}"
-
"
{{
paths.sftp_upload.mountpoint
}}"
-
"
{{
paths.sftp_download.mountpoint
}}"
-
"
{{
paths.log_disapp.mountpoint
}}"
-
"
{{
paths.log_subapp.mountpoint
}}"
-
"
{{
paths.log_subapp_ws.mountpoint
}}"
-
"
{{
paths.log_transferapp.mountpoint
}}"
loop
:
"
{{
(paths
|
dict2items
|
map(attribute='value')
|
map(attribute='mountpoint'))
+
(nfs_mounts_subapp.hosts[ansible_hostname].old_permanent_read_only
|
default([])
|
map(attribute='mountpoint'))
}}"
register
:
stat_result
-
name
:
if dir doesn't exist, create it with correct permissions
ansible.builtin.file
:
...
...
@@ -110,6 +100,15 @@
src
:
"
{{
nfs_mounts_subapp.hosts[ansible_hostname]['sftp_download']['nfs_share']
}}"
opts
:
"
{{
nfs_mounts_subapp.hosts[ansible_hostname]['sftp_download']['nfs_opts']
}}"
tags
:
[
notest
]
-
name
:
Read-only Mounts für alte Permanent-Shares
ansible.posix.mount
:
path
:
"
{{
item.mountpoint
}}"
src
:
"
{{
item.nfs_share
|
default(omit)
}}"
state
:
"
{{
item.state
|
default('mounted')
}}"
fstype
:
"
{{
item.fstype
|
default('nfs')
}}"
opts
:
"
{{
item.nfs_opts
|
default(nfs_opts.v4_ro)
}}"
loop
:
"
{{
nfs_mounts_subapp.hosts[ansible_hostname].old_permanent_read_only
|
default([])
}}"
tags
:
[
notest
]
### Owner/Group/Permissions korrekt setzen, nachdem die Mounts an den Mointpoints erfolgt sind ###
-
name
:
Ordner in NFS-Shares erzeugen, Owner/Group/Permissions korrekt setzen
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
View file @
7283a340
...
...
@@ -17,7 +17,7 @@
-
"
groups.vault"
-
"
human_users.vault"
-
"
iptables.vault"
-
"
nfs_mounts.vault"
-
"
nfs_mounts
_am
.vault"
-
"
sftp.vault"
-
"
ssh_publickeys.vault"
-
"
check_ie_sample.vault"
...
...
This diff is collapsed.
Click to expand it.