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

Make zsh version and download url variable

parent a71da32d
No related branches found
No related tags found
1 merge request!16Feat install zsh
---
- name: Download and untar zsh
ansible.builtin.unarchive:
src: https://www.zsh.org/pub/zsh-5.9.tar.xz
src: "{{ zsh_src_url }}"
dest: /tmp
remote_src: true
validate_certs: no
......@@ -9,19 +9,19 @@
- name: Configure zsh
ansible.builtin.command: ./configure
args:
chdir: /tmp/zsh-5.9
chdir: "/tmp/zsh-{{ zsh_ver }}"
become: true
- name: Make zsh
ansible.builtin.command: make
args:
chdir: /tmp/zsh-5.9
chdir: "/tmp/zsh-{{ zsh_ver }}"
become: true
- name: Install zsh
ansible.builtin.command: make install
args:
chdir: /tmp/zsh-5.9
chdir: "/tmp/zsh-{{ zsh_ver }}"
become: true
- name: Add zsh into /etc/shells
......
---
# vars file for cheaha.node
zsh_ver: 5.7.1
zsh_src_url: "https://www.zsh.org/pub/old/zsh-{{ zsh_ver }}.tar.xz"
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