Add configuration playbooks for setting up various system components

This commit is contained in:
2020-03-17 22:50:54 -04:00
parent 33ef563375
commit 1f3ca79d04
5 changed files with 102 additions and 29 deletions

View File

@@ -0,0 +1,26 @@
---
- import_playbook: meta.yml
- name: Update system
hosts: all
pre_tasks:
- import_tasks: tasks/centos-8-kernelplus.yml
tags: kernel
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
roles:
- role: packages
vars:
omni_pkg_update: true
omni_pkg_clean: true
- role: sshd
vars:
omni_restart_services: true
- role: common_env
tasks:
- name: Enable cockpit
become: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
systemd:
name: cockpit
enabled: true
state: started