Restructure repository, removing old stuff
This commit is contained in:
32
_legacy/playbooks/initialize.yml
Normal file
32
_legacy/playbooks/initialize.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- import_playbook: dependencies.yml
|
||||
|
||||
- name: Setup environment
|
||||
hosts: all:!network
|
||||
tags:
|
||||
- initialize
|
||||
vars:
|
||||
restart_services: true
|
||||
roles:
|
||||
- role: packages
|
||||
vars:
|
||||
update: true
|
||||
exclude: [] # Override the default kernel exclusion
|
||||
clean: true
|
||||
- role: sshd
|
||||
- role: networkd
|
||||
tasks:
|
||||
- name: Set hostname
|
||||
become: true
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
- name: Install global bashrc
|
||||
become: true
|
||||
copy:
|
||||
src: bashrc.sh
|
||||
dest: /etc/profile.d/ZA-enpn-bashrc.sh
|
||||
mode: 0644
|
||||
|
||||
- import_playbook: deploy-local-auth.yml
|
||||
|
||||
- import_playbook: deploy-sshkeys.yml
|
||||
Reference in New Issue
Block a user