Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Essential
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Ansible
Roles
Essential
Commits
2a44a156
You need to sign in or sign up before continuing.
Commit
2a44a156
authored
Jul 30, 2020
by
Dmitriy Safronov
Browse files
Options
Downloads
Patches
Plain Diff
- tmux
parent
4db31276
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/main.yml
+0
-17
0 additions, 17 deletions
tasks/main.yml
tasks/ubuntu/essential.yml
+0
-1
0 additions, 1 deletion
tasks/ubuntu/essential.yml
with
0 additions
and
18 deletions
tasks/main.yml
+
0
−
17
View file @
2a44a156
...
@@ -5,20 +5,3 @@
...
@@ -5,20 +5,3 @@
include_tasks
:
ubuntu/main.yml
include_tasks
:
ubuntu/main.yml
when
:
ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' or ansible_distribution == 'Linux Mint'
when
:
ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' or ansible_distribution == 'Linux Mint'
tags
:
ubuntu
tags
:
ubuntu
########################################################################################################################
# TMUX
-
name
:
Enable tmux on login for non-system users and root
copy
:
content
:
|
if [[ $- == *i* ]] && [[ ${UID} -eq 0 || ${UID} -ge 1000 ]]; then
if [[ -n "$(which tmux)" ]]; then
if [[ -z "${TMUX}" ]]; then
tmux has-session -t login || exec tmux new-session -s login && exec tmux attach-session -d -t login
fi
fi
fi
dest
:
/etc/profile.d/tmux.sh
owner
:
root
group
:
root
mode
:
0644
This diff is collapsed.
Click to expand it.
tasks/ubuntu/essential.yml
+
0
−
1
View file @
2a44a156
...
@@ -23,4 +23,3 @@
...
@@ -23,4 +23,3 @@
-
sed
-
sed
-
grep
-
grep
-
rsync
-
rsync
-
tmux
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