Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Drift
roller-ansible
centos8
Commits
0a1bda09
Commit
0a1bda09
authored
Nov 29, 2021
by
fedora Cloud User
Browse files
move env template from centos to el
parent
7705764b
Pipeline
#101469
failed with stage
in 1 minute and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0a1bda09
...
...
@@ -3,18 +3,17 @@ Centos7-system
A small role for generic system tasks common for UB
*
Checks for
Centos7/rhel7
*
Checks for
RHEL8/Rocky Linux 8/Almalinux 8
*
adds a cron job to update and restart the system at a specified time.
*
(Optional) add hostname (domain) to server
*
(Optional) adds public keys to authorized_keys for box
*
(Optional) adds environment variables
*
(Optional) adds
[
IUS
](
https://ius.io/
)
default 'false' repo for centos7
*
(Optional) adds chronic for system email and sets email in /var/spool/cron jobs
*
(Optional) adds volumes (To attach, use os_client_uh-iaas role to create volumes.)
Requirements
------------
Requires
centos 7
Requires
RHEL8, RockyLinux 8 (for now, no properties added for Almalinux or Centos Stream)
Role Variables
--------------
...
...
@@ -34,9 +33,8 @@ Example Playbook
name: centos7-system
vars:
hostname: marcus.uib.no
ius_repo: true
epel_repo: true
centos7
_extra_packages: ["yum-utils","imagemagick"]
el8
_extra_packages: ["yum-utils","imagemagick"]
ssh_public_keys:
- "ssh-rsa public-key1"
- "ssh-rsa public key2"
...
...
templates/
centos
-env.sh
.j2
→
templates/
el8
-env.sh
View file @
0a1bda09
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment