diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2022-09-04 17:02:35 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2022-09-04 17:02:35 -0400 |
| commit | 9cbca7991457b05bcfcc5017060437dd3af489a5 (patch) | |
| tree | cebeeaebd4ad613bea739db8fadc1d630f43724f /src/setup.yaml | |
| parent | Add bsd updates (diff) | |
| download | dotfiles-9cbca7991457b05bcfcc5017060437dd3af489a5.zip | |
Convert from src/ to roles structure
Diffstat (limited to 'src/setup.yaml')
| -rw-r--r-- | src/setup.yaml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/setup.yaml b/src/setup.yaml deleted file mode 100644 index 5534267..0000000 --- a/src/setup.yaml +++ /dev/null @@ -1,58 +0,0 @@ ---- -- name: Playbook to manage personal dotfiles - hosts: localhost - connection: local - tasks: - - name: Create folders - file: - path: "{{item}}" - state: directory - loop: - - "$HOME/src" - - "$HOME/bin" - - "$HOME/Pictures" - - - name: Link wallpaper - file: - src: "{{ playbook_dir }}/wallpaper.jpg" - dest: "$HOME/Pictures/wallpaper.jpg" - state: link - - - include_tasks: tasks/shared_dotfiles.yaml - - - include_tasks: tasks/dnf_packages.yaml - when: ansible_os_family == "RedHat" - - - include_tasks: tasks/pkg_packages.yaml - when: ansible_os_family == "FreeBSD" - - - include_tasks: tasks/desktop.yaml - when: ansible_os_family == "FreeBSD" - - - name: Ensure user is setup correctly - become: yes - become_method: su - ansible.builtin.user: - name: eugene - groups: wheel,vboxusers,operator - state: present - generate_ssh_key: yes - ssh_key_bits: 2048 - ssh_key_file: $HOME/.ssh/id_rsa - - - name: Ensure shell is set to zsh - vars: - current_user: "{{ ansible_user_id }}" - become: yes - become_method: su - user: - name: "{{ current_user }}" - shell: /usr/local/bin/zsh - - - name: Install vim-plug - get_url: - url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - dest: "$HOME/.config/nvim/autoload/plug.vim" - - - name: Install vim-plug plugins - shell: nvim +PlugInstall +qall --headless |