aboutsummaryrefslogtreecommitdiffstats
path: root/roles/zsh/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/zsh/tasks')
-rwxr-xr-xroles/zsh/tasks/main.yaml38
1 files changed, 0 insertions, 38 deletions
diff --git a/roles/zsh/tasks/main.yaml b/roles/zsh/tasks/main.yaml
deleted file mode 100755
index fe0c039..0000000
--- a/roles/zsh/tasks/main.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-- name: Install packages
- become: yes
-
- dnf:
- name: "{{ item.key }}"
- state: "{{ item.value.state | default('present') }}"
-
- with_dict: "{{dnf}}"
- vars:
- dnf:
- fzf:
- git:
- jq:
- jc:
- zsh:
-
-- name: Ensure shell is default for user
- vars:
- current_user: "{{ ansible_user_id }}"
- become: yes
- user:
- name: "{{ current_user }}"
- shell: /usr/bin/zsh
-
-- name: Link configuration
- file:
- src: "{{ role_path }}/files/.zshrc"
- dest: "{{ lookup('env', 'HOME') }}/.zshrc"
- state: link
-
-- name: Create folders
- file:
- path: "{{item}}"
- state: directory
- loop:
- - "{{ lookup('env', 'HOME') }}/src"
- - "{{ lookup('env', 'HOME') }}/bin"