Dev to main #1
@@ -1,39 +1,13 @@
|
||||
---
|
||||
- name: Configure oh my zsh, by pushing the config file
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/.zshrc"
|
||||
dest: /home/max/.zshrc
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
ansible.builtin.include_tasks: omz.yaml
|
||||
|
||||
- name: Configure vim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/.vimrc"
|
||||
dest: /home/max/.vimrc
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
ansible.builtin.include_tasks: vim.yaml
|
||||
|
||||
- name: Configure ranger, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/ranger_config/"
|
||||
dest: /home/max/.config/ranger
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
ansible.builtin.include_tasks: ranger.yaml
|
||||
|
||||
- name: Make sure ~/.config/ranger/scope.sh is executable
|
||||
ansible.builtin.file:
|
||||
path: /home/max/.config/ranger/scope.sh
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rwx,g=rx,o-rwx
|
||||
- name: Configure Neovim, by pushing the config
|
||||
ansible.builtin.include_tasks: nvim.yaml
|
||||
|
||||
- name: Configure neovim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/nvim_config/"
|
||||
dest: /home/max/.config/nvim
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Clear old Neovim config
|
||||
ansible.builtin.file:
|
||||
state: absent
|
||||
path: /home/max/.config/nvim
|
||||
|
||||
- name: Configure neovim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/nvim_config/"
|
||||
dest: /home/max/.config/nvim
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Configure oh my zsh, by pushing the config file
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/.zshrc"
|
||||
dest: /home/max/.zshrc
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
- name: Clear old config
|
||||
ansible.builtin.file:
|
||||
state: absent
|
||||
path: /home/max/.config/ranger
|
||||
|
||||
- name: Configure ranger, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/ranger_config/"
|
||||
dest: /home/max/.config/ranger
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
|
||||
- name: Make sure ~/.config/ranger/scope.sh is executable
|
||||
ansible.builtin.file:
|
||||
path: /home/max/.config/ranger/scope.sh
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rwx,g=rx,o-rwx
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Configure vim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/.vimrc"
|
||||
dest: /home/max/.vimrc
|
||||
owner: max
|
||||
group: max
|
||||
mode: u=rw,g=r,o-rwx
|
||||
|
||||
Reference in New Issue
Block a user