27 lines
658 B
YAML
27 lines
658 B
YAML
---
|
|
- 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
|