diff --git a/files/motd b/files/motd new file mode 100644 index 0000000..383d9d3 --- /dev/null +++ b/files/motd @@ -0,0 +1,8 @@ + + + .-. .-._.. .-. .-. + ./.-'_( ) )/ ) ) + (__.' `-' '/ / ( + `-' + + diff --git a/tasks/main.yml b/tasks/main.yml index ae7ca7f..8a28dfd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,24 +3,37 @@ - name: Install user environment packages apt: name: + - git + - neovim + - tmux - zplug - zsh state: present -- name: Set default shell to zsh - user: - name: eric - shell: /bin/zsh +- name: Copy MOTD + copy: + src: files/motd + dest: /etc/motd + +- name: Create local configuration directory + file: + path: /home/eric/.config/nvim + state: directory + +- name: Install custom zsh prompt + copy: + src: prompt_eric_setup + dest: /usr/share/zsh/functions/Prompts/prompt_eric_setup - name: Copy zsh configuration copy: src: zshrc dest: /home/eric/.zshrc -- name: Install custom zsh prompt - copy: - src: prompt_eric_setup - dest: /usr/share/zsh/functions/Prompts/prompt_eric_setup +- name: Set default shell to zsh + user: + name: eric + shell: /bin/zsh - name: Copy tmux configuration copy: @@ -32,11 +45,6 @@ src: gitconfig dest: /home/eric/.gitconfig -- name: Create local configuration directory - file: - path: /home/eric/.config/nvim - state: directory - - name: Copy neovim configuration copy: src: init.lua