Trying a whole buncha stuff

This commit is contained in:
2019-11-23 14:30:39 -05:00
parent 11771acc17
commit 62b95d4e22
24 changed files with 517 additions and 48 deletions

View File

@@ -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: