diff --git a/Bilimbi.yml b/Bilimbi.yml new file mode 100644 index 0000000..0dd53f2 --- /dev/null +++ b/Bilimbi.yml @@ -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 diff --git a/tasks/deb_CLI_packages.yml b/tasks/deb_CLI_packages.yml new file mode 100644 index 0000000..70ff270 --- /dev/null +++ b/tasks/deb_CLI_packages.yml @@ -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 diff --git a/vars/Bilimibi.yml b/vars/Bilimibi.yml new file mode 100644 index 0000000..11cf31f --- /dev/null +++ b/vars/Bilimibi.yml @@ -0,0 +1,6 @@ +--- + +deploy_public_key: files/id_ed25519_Embrevade.pub + +minimal: true +