start ansible project
for hypervisors and non nix hosts, switch to ansible for ease of existencepull/1/head
parent
5f882defe0
commit
2dcf9846ae
|
@ -0,0 +1,5 @@
|
|||
[defaults]
|
||||
|
||||
# some basic default values...
|
||||
|
||||
inventory = ./hosts
|
|
@ -0,0 +1,5 @@
|
|||
[hypervisor]
|
||||
server3.hq.c3d2.de
|
||||
server4.hq.c3d2.de
|
||||
server5.hq.c3d2.de
|
||||
server6.hq.c3d2.de
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
# file: hypervisor.yml
|
||||
- hosts: hypervisor
|
||||
roles:
|
||||
- proxmox
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
- name: Update all packages to the latest version
|
||||
apt:
|
||||
upgrade: dist
|
||||
- name: Install packages
|
||||
apt:
|
||||
name: "{{ packages }}"
|
||||
vars:
|
||||
packages:
|
||||
- zsh
|
||||
- iotop
|
||||
- latencytop
|
||||
- htop
|
||||
|
||||
- name: Cloning oh-my-zsh
|
||||
git:
|
||||
repo=https://github.com/robbyrussell/oh-my-zsh
|
||||
dest=~/.oh-my-zsh
|
||||
|
||||
- name: Link ~/.zshrc
|
||||
file:
|
||||
src: /etc/pve/zshrc
|
||||
dest: ~/.zshrc
|
||||
state: link
|
||||
force: yes
|
Loading…
Reference in New Issue