Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Packer Openstack Hpc Image
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krish Moodbidri
Packer Openstack Hpc Image
Commits
24d8135d
Commit
24d8135d
authored
2 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Make zsh version and download url variable
parent
a71da32d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/cheaha.node/tasks/zsh.yml
+4
-4
4 additions, 4 deletions
ansible/roles/cheaha.node/tasks/zsh.yml
ansible/roles/cheaha.node/vars/main.yml
+2
-0
2 additions, 0 deletions
ansible/roles/cheaha.node/vars/main.yml
with
6 additions
and
4 deletions
ansible/roles/cheaha.node/tasks/zsh.yml
+
4
−
4
View file @
24d8135d
---
---
-
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
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/cheaha.node/vars/main.yml
+
2
−
0
View file @
24d8135d
---
---
# 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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment