New sever: Bilimbi
This commit is contained in:
parent
06b3f7946e
commit
c3ac792e73
21
Bilimbi.yml
Normal file
21
Bilimbi.yml
Normal 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
|
35
tasks/deb_CLI_packages.yml
Normal file
35
tasks/deb_CLI_packages.yml
Normal 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
6
vars/Bilimibi.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
deploy_public_key: files/id_ed25519_Embrevade.pub
|
||||
|
||||
minimal: true
|
||||
|
Loading…
Reference in New Issue
Block a user