Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
2447e292
Commit
2447e292
authored
May 04, 2020
by
julian.gethmann
Browse files
Use faster and not deprecated syntax for software installation
parent
4bf48c87
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/common/tasks/software.yml
View file @
2447e292
...
@@ -2,14 +2,12 @@
...
@@ -2,14 +2,12 @@
-
name
:
install common software
-
name
:
install common software
become
:
true
become
:
true
package
:
package
:
name
:
"
{{
item
}}"
name
:
"
{{
common_software
}}"
state
:
present
state
:
present
with_items
:
"
{{
common_software
}}"
-
name
:
install extra software
-
name
:
install extra software
become
:
true
become
:
true
package
:
package
:
name
:
"
{{
item
}}"
name
:
"
{{
extra_software
}}"
state
:
present
state
:
present
with_items
:
"
{{
extra_software
}}"
when
:
extra_software is defined
when
:
extra_software is defined
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment