Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_reporting
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_reporting
Commits
2d9ac874
Commit
2d9ac874
authored
3 years ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
feat: write IBMSP password file before first use and startup dsmcad service
parent
044310f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/install_ibmsp_client.yml
+19
-0
19 additions, 0 deletions
tasks/install_ibmsp_client.yml
with
19 additions
and
0 deletions
tasks/install_ibmsp_client.yml
+
19
−
0
View file @
2d9ac874
...
@@ -48,6 +48,25 @@
...
@@ -48,6 +48,25 @@
-
"
dsm.sys"
-
"
dsm.sys"
notify
:
restart dsmcad
notify
:
restart dsmcad
# - based on Michail Angelos Simos' Ansible Role:
# https://github.com/mikesimos/tsm-client.git
# - dsmc CLI arg ducumentation can be found at:
# https://publib.boulder.ibm.com/tividd/td/TSMC/GC32-0789-01/en_US/HTML/ans5000016.htm#HDRCMD6036
-
name
:
write password file
command
:
#use: dsmc set password <Old PW> <New PW>
cmd
:
"
dsmc
set
password
{{
ansible_hostname
}}
{{
ansible_hostname
}}"
creates
:
"
/etc/adsm/TSM.sth"
register
:
dsmc_result
failed_when
:
(dsmc_result.rc != 0) and (dsmc_result.rc != 8)
notify
:
restart dsmcad
-
name
:
Start dsmcad service. This service triggers regular checks for backup schedules on the IBMSP server.
systemd
:
name
:
"
dsmcad.service"
state
:
started
# check is run as a logrotage PreCmd, so no Cronjob/Timer is required
-
name
:
install check-backup scripts
-
name
:
install check-backup scripts
block
:
block
:
-
name
:
install Git (required by Ansible builtin Git module)
-
name
:
install Git (required by Ansible builtin Git module)
...
...
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