Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
common
Commits
57160872
Commit
57160872
authored
6 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Remove with_items from apt
parent
d4a29b7b
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
shell/tasks/shell.yml
+33
-36
33 additions, 36 deletions
shell/tasks/shell.yml
shell/tasks/sudo.yml
+1
-1
1 addition, 1 deletion
shell/tasks/sudo.yml
with
34 additions
and
37 deletions
shell/tasks/shell.yml
+
33
−
36
View file @
57160872
...
...
@@ -3,23 +3,20 @@
-
name
:
ensure installation of basic shell commands
apt
:
name
:
"
{{
item
}}"
state
:
present
install_recommends
:
no
with_items
:
name
:
-
git
-
vim
-
vim-scripts
-
zsh
state
:
present
install_recommends
:
no
tags
:
-
packages
-
shell
-
name
:
ensure installaton of some additional software
apt
:
name
:
"
{{
item
}}"
state
:
present
with_items
:
name
:
-
aptitude
-
atop
-
build-essential
...
...
@@ -46,15 +43,15 @@
-
whois
-
less
-
man
state
:
present
tags
:
-
packages
-
shell
-
name
:
ensure installation of variable additional software
apt
:
name
:
"
{{
item
}}"
name
:
"
{{
shell_software
}}"
state
:
present
with_items
:
"
{{
shell_software
}}"
tags
:
-
packages
-
shell
...
...
This diff is collapsed.
Click to expand it.
shell/tasks/sudo.yml
+
1
−
1
View file @
57160872
...
...
@@ -2,7 +2,7 @@
# file: roles/common/tasks/sudo.yml
-
name
:
ensure sudo is installed
apt
:
state=
lates
t name=sudo
apt
:
state=
presen
t name=sudo
tags
:
-
sudo
-
packages
...
...
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