Trying a whole buncha stuff
This commit is contained in:
@@ -1,29 +1,11 @@
|
||||
---
|
||||
- import_playbook: dependencies.yml
|
||||
- import_playbook: initialize.yml
|
||||
|
||||
|
||||
- hosts: all
|
||||
name: Init
|
||||
tags: initialize
|
||||
tasks:
|
||||
- name: Set hostname
|
||||
become: true
|
||||
hostname:
|
||||
name: "{{ default_host if default_host is defined else inventory_hostname }}"
|
||||
|
||||
- name: Install global bashrc
|
||||
become: true
|
||||
copy:
|
||||
src: bashrc.sh
|
||||
dest: /etc/profile.d/global-bashrc.sh
|
||||
mode: 0644
|
||||
|
||||
- import_tasks: tasks/sshd/banner.yml
|
||||
|
||||
|
||||
- hosts: all
|
||||
name: System packages
|
||||
tags: initialize
|
||||
- name: System packages
|
||||
hosts: all
|
||||
tags:
|
||||
- provision
|
||||
- initialize
|
||||
tasks:
|
||||
- name: Load package variables
|
||||
include_vars:
|
||||
|
||||
Reference in New Issue
Block a user