Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_bootstrap_rhel_server
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_bootstrap_rhel_server
Commits
4c993e69
Commit
4c993e69
authored
4 years ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
doc: add documentation to clarify context
parent
aa6d3065
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+7
-1
7 additions, 1 deletion
README.md
tasks/configure_repos.yml
+5
-1
5 additions, 1 deletion
tasks/configure_repos.yml
tasks/install_tsm_client.yml
+2
-2
2 additions, 2 deletions
tasks/install_tsm_client.yml
tasks/main.yml
+2
-2
2 additions, 2 deletions
tasks/main.yml
with
16 additions
and
6 deletions
README.md
+
7
−
1
View file @
4c993e69
...
@@ -13,7 +13,13 @@ To deploy this role to a managed host, the following software must be installed
...
@@ -13,7 +13,13 @@ To deploy this role to a managed host, the following software must be installed
*
Python3
*
Python3
*
SSHd
*
SSHd
## General usage
## Quick start
```
ansible-playbook site.yml -i <INVENTORY_FILE> --limit <HOSTNAME>
```
## General Ansible usage
Most options already have sensible defaults in
`ansible.cfg`
. However, you can override these defaults using CLI options/flags if you want to.
Most options already have sensible defaults in
`ansible.cfg`
. However, you can override these defaults using CLI options/flags if you want to.
...
...
This diff is collapsed.
Click to expand it.
tasks/configure_repos.yml
+
5
−
1
View file @
4c993e69
---
---
# Systems have to be subscribed with RedHat in order to be able to use software
# repositories, install software and receive updates/support.
-
name
:
subscribe system with RedHat
-
name
:
subscribe system with RedHat
redhat_subscription
:
redhat_subscription
:
state
:
present
state
:
present
username
:
"
{{
vault_rhel_username
}}"
username
:
"
{{
vault_rhel_username
}}"
password
:
"
{{
vault_rhel_password
}}"
password
:
"
{{
vault_rhel_password
}}"
auto_attach
:
true
auto_attach
:
true
-
name
:
activate RHEL repos
-
name
:
activate RHEL repos
rhsm_repository
:
rhsm_repository
:
name
:
"
{{
item
}}"
name
:
"
{{
item
}}"
...
@@ -15,6 +16,9 @@
...
@@ -15,6 +16,9 @@
-
"
rhel-7-server-rh-common-rpms"
-
"
rhel-7-server-rh-common-rpms"
-
"
rhel-7-server-extras-rpms"
-
"
rhel-7-server-extras-rpms"
# Additional software is made available through the EPEL (Extra Packages for
# Enterprise Linux) repository, which is managed by the Fedora Special Interest
# Group of the same name.
-
name
:
activate EPEL repos
-
name
:
activate EPEL repos
yum
:
yum
:
name
:
"
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
name
:
"
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
...
...
This diff is collapsed.
Click to expand it.
tasks/install_tsm_client.yml
+
2
−
2
View file @
4c993e69
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
dest
:
"
/tmp/"
dest
:
"
/tmp/"
checksum
:
"
{{
tsm_checksum
|
default(tsm_default_checksum)
}}"
checksum
:
"
{{
tsm_checksum
|
default(tsm_default_checksum)
}}"
-
name
:
create extraction dir
-
name
:
create
temporary
extraction dir
file
:
file
:
path
:
"
/tmp/tsm/"
path
:
"
/tmp/tsm/"
state
:
directory
state
:
directory
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
]
]
become
:
true
become
:
true
-
name
:
ma
nage service
-
name
:
ma
ke sure IBM Spectrum Protect backup service is active and running
systemd
:
systemd
:
name
:
"
dsmcad.service"
name
:
"
dsmcad.service"
enabled
:
true
enabled
:
true
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
2
−
2
View file @
4c993e69
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-
"
users.vault"
-
"
users.vault"
tags
:
[
always
]
tags
:
[
always
]
-
name
:
prepare
skel
-
name
:
prepare
default skel configuration for new users
import_tasks
:
configure_skel.yml
import_tasks
:
configure_skel.yml
tags
:
[
skel
]
tags
:
[
skel
]
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
import_tasks
:
configure_ssh_client.yml
import_tasks
:
configure_ssh_client.yml
tags
:
[
ssh
]
tags
:
[
ssh
]
-
name
:
activate
repo
s
-
name
:
activate
software repositorie
s
import_tasks
:
configure_repos.yml
import_tasks
:
configure_repos.yml
tags
:
[
repos
]
tags
:
[
repos
]
...
...
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