Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tier2
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
SystemAdministration
tier2
Commits
5de93152
Commit
5de93152
authored
2 years ago
by
Sander Kuusemets
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
tasks/main.yml
+86
-0
86 additions, 0 deletions
tasks/main.yml
with
87 additions
and
0 deletions
README.md
0 → 100644
+
1
−
0
View file @
5de93152
Tier 2 exam preparation playbook.
This diff is collapsed.
Click to expand it.
tasks/main.yml
0 → 100644
+
86
−
0
View file @
5de93152
-
name
:
Services
service
:
name
:
"
{{
item
}}"
state
:
stopped
enabled
:
no
with_items
:
-
docker
-
mariadb
-
named
-
name
:
SSH
file
:
name
:
/home/scoring/.ssh/authorized_keys
mode
:
0000
-
name
:
K8S
shell
:
kubectl delete ns/lab11
failed_when
:
false
-
name
:
Named
lineinfile
:
dest
:
/etc/named.conf
regex
:
"
^
*listen-on
port
53"
line
:
"
listen-on
port
53
{
any;
}"
state
:
present
-
name
:
Postfix
lineinfile
:
dest
:
/etc/postfix/main.cf
regex
:
"
^inet_interfaces"
line
:
"
inet_interfaces
=
localhost"
state
:
present
-
name
:
Postfix
lineinfile
:
dest
:
/etc/postfix/main.cf
regex
:
"
^myhostname"
line
:
"
myhostname
=
localhost"
state
:
present
-
name
:
Postfix
lineinfile
:
dest
:
/etc/postfix/main.cf
regex
:
"
^myorigin"
line
:
"
myorigin
=
localhost"
state
:
present
-
name
:
NFS
file
:
dest
:
/etc/exports
state
:
absent
-
name
:
Filesystems
ansible.posix.mount
:
path
:
/mnt/nfs
state
:
unmounted
-
name
:
Traefik
lineinfile
:
dest
:
/etc/traefik/traefik.toml
regex
:
"
^
*dashboard
=
"
line
:
"
dashboard
=
false"
state
:
present
-
name
:
HTTPD
file
:
dest
:
/var/www/html
mode
:
0000
-
name
:
HTTPD
package
:
name
:
mod_ssl
state
:
absent
-
name
:
Certificates
file
:
dest
:
/etc/pki/tls/certs
mode
:
0700
-
name
:
HTTPD
service
:
name
:
"
{{
item
}}"
state
:
restarted
with_items
:
-
httpd
-
postfix
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