Skip to content
Snippets Groups Projects
Commit ff3d1282 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add zsh tasks

parent 5cbdc266
No related branches found
No related tags found
No related merge requests found
---
- name: Download and untar zsh
ansible.builtin.unarchive:
src: https://www.zsh.org/pub/zsh-5.9.tar.xz
dest: /tmp
remote_src: true
validate_certs: no
- name: Configure zsh
ansible.builtin.command: ./configure
args:
chdir: /tmp/zsh-5.9
become: true
- name: Make zsh
ansible.builtin.command: make
args:
chdir: /tmp/zsh-5.9
become: true
- name: Install zsh
ansible.builtin.command: make install
args:
chdir: /tmp/zsh-5.9
become: true
- name: Add zsh into /etc/shells
ansible.builtin.lineinfile:
path: /etc/shells
line: /usr/local/bin/zsh
state: present
owner: root
group: root
mode: '0644'
become: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment