Skip to content
Snippets Groups Projects
Commit 6184fd38 authored by Sander Kuusemets's avatar Sander Kuusemets
Browse files

tier3

parents
No related branches found
No related tags found
No related merge requests found
Tier 3 exam preparation playbook.
- name: SSH
file:
name: /home/scoring/.ssh/authorized_keys
state: absent
- name: k3s
file:
name: /var/lib/rancher/k3s/server/manifests/traefik-config.yaml
state: absent
- name: httpd
shell: "sed -i 's|:443|:444|g' /etc/httpd/conf.d/*.conf"
- name: httpd
shell: "sed -i 's|:80|:81|g' /etc/httpd/conf.d/*.conf"
- name: named
shell: "sed -i 's|0|o|g' /etc/named/*"
- name: Services
service:
name: "{{ item }}"
state: stopped
enabled: no
with_items:
- docker
- mariadb
- named
- k3s
- httpd
- name: httpd
shell: systemctl mask httpd
- name: finalize
community.general.shutdown:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment