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
4e780b9555df8e159a4ae7383a273e6669ebb98b to 2aacc85de99cc0398850bab2cb1ff25d4ed8b308
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
2aacc85de99cc0398850bab2cb1ff25d4ed8b308
Select Git revision
Branches
archivematica_support
extended_maintenance
fix_autocomplete
master
4 results
Swap
Target
digital-preservation/ansible_lza_ingest
Select target project
digital-preservation/ansible_lza_ingest
1 result
4e780b9555df8e159a4ae7383a273e6669ebb98b
Select Git revision
Branches
archivematica_support
extended_maintenance
fix_autocomplete
master
4 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
chore: removed outdated tasks, new ta-tool is more linked with AIS and only installed on AIS hosts
· 672376ab
Jens Steidl
authored
2 weeks ago
672376ab
chore: renamed task
· a7b23950
Jens Steidl
authored
2 weeks ago
a7b23950
fix: update package list for AM SubApp hosts
· 2aacc85d
Jens Steidl
authored
2 weeks ago
2aacc85d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/install_packages.yml
+14
-13
14 additions, 13 deletions
tasks/install_packages.yml
tasks/install_ta_tools.yml
+0
-78
0 additions, 78 deletions
tasks/install_ta_tools.yml
tasks/main.yml
+0
-4
0 additions, 4 deletions
tasks/main.yml
with
14 additions
and
95 deletions
tasks/install_packages.yml
View file @
2aacc85d
...
...
@@ -6,18 +6,17 @@
state
:
present
update_cache
:
true
-
name
:
Install/Update
curl, libxerces-c-dev, rsync, tar, unzip, imagemagick, libtiff-tools, libxml2-util
s
-
name
:
Install/Update
required or useful tools and librarie
s
ansible.builtin.apt
:
name
:
[
'
curl'
,
'
inotify-tools'
,
'
libpath-class-perl'
,
# 'libxalan-c111',
'
libxalan-c112'
,
'
libxerces-c-dev'
,
'
inotify-tools'
,
# custom systemd service
# 'libpath-class-perl', # ? likely outdated requirement, no use case
# 'libxalan-c112', # ? likely outdated requirement, installed by SubApp
# 'libxerces-c-dev', # ? likely outdated requirement, installed by SubApp
'
libxml2-utils'
,
'
netcat-openbsd'
,
'
p7zip-full'
,
'
p7zip-full'
,
# compressed logs
'
rsync'
,
'
sqlite3'
,
'
tar'
,
...
...
@@ -25,6 +24,8 @@
'
imagemagick'
,
'
libtiff-tools'
,
'
python3-virtualenv'
,
'
checkit-tiff-upcoming'
,
'
exiftool'
,
]
state
:
present
update_cache
:
true
...
...
@@ -40,12 +41,12 @@
-
name
:
Install/Update Perl-Pakete
ansible.builtin.apt
:
name
:
[
'
libcurses-ui-perl'
,
'
libnet-scp-perl'
,
'
libtest-exception-perl'
,
'
libtest-file-perl'
,
'
libtest-output-perl'
,
'
libtext-csv-xs-perl'
,
#
'libcurses-ui-perl',
# ? likely outdated requirement
#
'libnet-scp-perl',
# ? likely outdated requirement
#
'libtest-exception-perl',
# ? likely outdated requirement
#
'libtest-file-perl',
# ? likely outdated requirement
#
'libtest-output-perl',
# ? likely outdated requirement
#
'libtext-csv-xs-perl',
# ? likely outdated requirement
'
perl'
,
'
perl-base'
,
'
perl-modules-5.36'
,
...
...
This diff is collapsed.
Click to expand it.
tasks/install_ta_tools.yml
deleted
100644 → 0
View file @
4e780b95
---
-
name
:
Install TA-Tools
ansible.builtin.package
:
name
:
"
tools-for-technical-analysts"
state
:
latest
-
name
:
|
Remove build dependencies used for the old installation method that didn't
rely on a prebuilt Debian package.
block
:
-
name
:
install Git (prerequisite for ansible.builtin.git)
ansible.builtin.apt
:
name
:
[
"
gcc"
,
# needed only for Archivematica version
"
git"
,
"
libdist-zilla-perl"
,
]
state
:
absent
# - name: checkout ta-tools repo
# ansible.builtin.git:
# repo: "https://git.slub-dresden.de/digital-preservation/tools-for-technical-analysts.git"
# dest: "/tmp/tools-for-technical-analysts/"
# version: "version1.0-rosetta"
# register: ta_tools_git
-
name
:
REMOVE ta-tools repo
ansible.builtin.file
:
path
:
"
/tmp/tools-for-technical-analysts/"
state
:
absent
# Run `dzil listdeps` to get an updated list of dependencies.
# Commented dependencies are not available as Debian packages and will be
# installed when running `dzil install` in the next task.
-
name
:
|
REMOVE dependencies for ta-tools. Keep only what is also listed as a
dependency in the tools-for-technical-analysts Debian package to avoid
removing and immediately reinstalling them.
ansible.builtin.apt
:
name
:
[
# App::Cmd::Setup
# "libcurl4-gnutls-dev", # needed only for Archivematica version
# "libdata-printer-perl", # Package dependency
"
libdatetime-perl"
,
"
libdatetime-format-dateparse-perl"
,
# ExtUtils::MakeMaker
# IO::Zlib
# LWP::UserAgent
"
libextutils-pkgconfig-perl"
,
"
libpath-tiny-perl"
,
# "libregexp-optimizer-perl", # Package dependency
# "libsoap-lite-perl", # Package dependency
# "libtest-cmd-perl", # needed only for Archivematica version
"
libtext-csv-perl"
,
"
libyaml-perl"
,
]
state
:
absent
# # This is THE main purpose of this task file, so we won't run this as a
# # handler, but set "noqa: no-handler" instead.
# # Also, OF COURSE we want to run it every time. We just pulled a fresh copy
# # from Git and it's onyl run when that action changed.
# - name: install ta-tools
# ansible.builtin.command: # noqa: no-changed-when
# cmd: "dzil install"
# chdir: "/tmp/tools-for-technical-analysts/"
# when: ta_tools_git.changed # noqa: no-handler
# async: 100000
-
name
:
create directories needed by ta-tool
ansible.builtin.file
:
path
:
"
/home/{{
vault_subapp_user
}}/{{
item
}}/"
state
:
directory
mode
:
"
0755"
owner
:
"
{{
vault_subapp_user
}}"
group
:
"
{{
vault_subapp_group
}}"
loop
:
-
"
.cache"
-
"
.config"
This diff is collapsed.
Click to expand it.
tasks/main.yml
View file @
2aacc85d
...
...
@@ -77,10 +77,6 @@
ansible.builtin.import_tasks
:
"
configure_iptables_externalusers.yml"
tags
:
[
iptables
]
# - name: install tools for Technical Analysts
# ansible.builtin.import_tasks: "install_ta_tools.yml"
# tags: [ta, apt]
-
name
:
install scripts and services for moving old logs to archive
ansible.builtin.import_tasks
:
"
install_move_logs.yml"
tags
:
[
log
,
cleanup
]
...
...
This diff is collapsed.
Click to expand it.