This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
2018-12-31 03:54:33 +00:00
|
|
|
---
|
2020-02-12 04:17:43 +00:00
|
|
|
- import_playbook: meta.yml
|
2018-12-31 03:54:33 +00:00
|
|
|
|
2020-02-12 04:17:43 +00:00
|
|
|
- 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
|