Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Maxime Bombar
ansible
Commits
74048eb3
Commit
74048eb3
authored
4 years ago
by
Maxime Bombar
Browse files
Options
Downloads
Patches
Plain Diff
Deploy right shell config
parent
dc705523
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/deploy_config/tasks/main.yml
+20
-1
20 additions, 1 deletion
roles/deploy_config/tasks/main.yml
with
20 additions
and
1 deletion
roles/deploy_config/tasks/main.yml
+
20
−
1
View file @
74048eb3
...
...
@@ -38,6 +38,25 @@
loop
:
-
.emacs
-
.gitconfig
when
:
not ansible_check_mode
-
name
:
Deploy zsh config
file
:
src
:
/home/{{ ansible_user}}/Git/Config_Files/{{ item }}
dest
:
/home/{{ ansible_user }}/{{ item }}
state
:
link
loop
:
-
.zshrc
-
.zsh
when
:
not ansible_check_mode
when
:
shell == "zsh" and not ansible_check_mode
-
name
:
Deploy bash config
file
:
src
:
/home/{{ ansible_user}}/Git/Config_Files/{{ item }}
dest
:
/home/{{ ansible_user }}/{{ item }}
state
:
link
loop
:
-
.umaskrc
-
.bashrc
-
.bash_aliases
when
:
shell == "bash" and not ansible_check_mode
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