New sever: Bilimbi

This commit is contained in:
Bertrand Benjamin 2018-08-25 10:42:00 +02:00
parent 06b3f7946e
commit c3ac792e73
3 changed files with 62 additions and 0 deletions

21
Bilimbi.yml Normal file
View File

@ -0,0 +1,21 @@
---
- hosts: localhost
connection: local
vars_files:
- vars/common.yml
- vars/Bilimbi.yml
tasks:
- include: tasks/deb_CLI_packages.yml
- include: tasks/zsh.yml
- include: tasks/users.yml
- include: tasks/sudo.yml
- include: tasks/ssh.yml
- include: tasks/dotfiles.yml
handlers:
- name: restart sshd
service:
name: sshd
state: restarted

View File

@ -0,0 +1,35 @@
---
- name: Update and upgrade all packages
apt:
update_cache: yes
upgrade: full
- name: Install base CLI packages
apt:
name: "{{ item }}"
state: present
with_items:
- wget
- cronie
- zsh
- vim
- tmux
- ruby
- git
- openssh
- sshfs
- htop
- ntop
- iotop
- glances
- ranger
- name: Install extra CLI packages
apt:
name: "{{ item }}"
state: present
with_items:
- moc
- newsboat
- pass
when: not minimal

6
vars/Bilimibi.yml Normal file
View File

@ -0,0 +1,6 @@
---
deploy_public_key: files/id_ed25519_Embrevade.pub
minimal: true