30 lines
630 B
YAML
30 lines
630 B
YAML
---
|
|
- import_playbook: meta.yml
|
|
|
|
- name: Configure system
|
|
hosts: all:!network
|
|
tags:
|
|
- initialize
|
|
vars:
|
|
omni_restart_services: true
|
|
roles:
|
|
- role: packages
|
|
vars:
|
|
omni_pkg_update: true
|
|
omni_pkg_exclude: [] # Override the default kernel exclusion
|
|
omni_pkg_clean: true
|
|
- role: sshd
|
|
tasks:
|
|
- name: Set hostname
|
|
become: true
|
|
hostname:
|
|
name: "{{ ansible_host }}"
|
|
- name: Install global bashrc
|
|
become: true
|
|
copy:
|
|
src: bashrc.sh
|
|
dest: /etc/profile.d/ZA-enpn-bashrc.sh
|
|
mode: 0644
|
|
|
|
#- import_playbook: configure-auth.yml
|