summaryrefslogtreecommitdiff
path: root/roles/zsh/tasks/main.yaml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-04-21 23:28:35 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-04-21 23:28:35 +0200
commit2e5b51cc24b6f6c91e7f969fe14e3adc2d4e80f2 (patch)
tree6cbb61b2f17061fee06306a3ec2e58e2fc3e87de /roles/zsh/tasks/main.yaml
parentupdated google apt key (diff)
rename all .yaml to .yml
Diffstat (limited to 'roles/zsh/tasks/main.yaml')
-rw-r--r--roles/zsh/tasks/main.yaml33
1 files changed, 0 insertions, 33 deletions
diff --git a/roles/zsh/tasks/main.yaml b/roles/zsh/tasks/main.yaml
deleted file mode 100644
index 12eac8c4..00000000
--- a/roles/zsh/tasks/main.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
----
-- name: install zsh packages
- apt:
- name: "{{ item }}"
- state: present
- with_items:
- - zsh
-
-- name: install zsh-config
- copy:
- src: "{{ item.src }}"
- dest: "{{ item.dest }}"
- with_items:
- - { src: "zshrc", dest: "/etc/zsh/zshrc" }
- - { src: "zshrc.skel", dest: "/etc/skel/.zshrc" }
-
-- name: set zsh as default shell
- user:
- name: "{{ item }}"
- shell: /bin/zsh
- with_items: "{{ [ 'root' ] | union(zsh_loginshell_user | default([])) }}"
-
-- name: make zsh the default shell for useradd
- lineinfile:
- regexp: '^#?SHELL='
- line: 'SHELL=/bin/zsh'
- path: /etc/default/useradd
-
-- name: make zsh the default shell for adduser
- lineinfile:
- regexp: '^#?DSHELL='
- line: 'DSHELL=/bin/zsh'
- path: /etc/adduser.conf