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