Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
supplemental
Commits
276f6570
Commit
276f6570
authored
Jul 12, 2018
by
Robin Sonnabend
Browse files
Replace apt state=installed by state=present
This will be removed in 2.9
parent
62f13297
Changes
4
Hide whitespace changes
Inline
Side-by-side
baremetal/tasks/main.yml
View file @
276f6570
...
...
@@ -4,7 +4,7 @@
-
name
:
ensure baremetal-specific packages are installed
apt
:
name
:
"
{{
item
}}"
state
:
installed
state
:
present
with_items
:
-
lldpd
-
lm-sensors
...
...
@@ -38,7 +38,7 @@
-
name
:
ensure microcode updates are available (Intel)
apt
:
name
:
intel-microcode
state
:
installed
state
:
present
when
:
ansible_processor[1] == 'GenuineIntel'
tags
:
-
baremetal
...
...
@@ -47,7 +47,7 @@
-
name
:
ensure microcode updates are available (AMD)
apt
:
name
:
amd64-microcode
state
:
installed
state
:
present
when
:
ansible_processor[1] == 'AuthenticAMD'
tags
:
-
baremetal
...
...
branding/tasks/main.yml
View file @
276f6570
...
...
@@ -81,7 +81,7 @@
-
name
:
ensure apt https transport is available
apt
:
name
:
apt-transport-https
state
:
installed
state
:
present
with_items
:
"
{{
branding_apt_repos
}}"
when
:
-
branding_apt_repos is defined
...
...
debian-updates/tasks/main.yml
View file @
276f6570
...
...
@@ -4,7 +4,7 @@
-
name
:
ensure any dependencies are available
apt
:
name
:
"
{{
item
}}"
state
:
installed
state
:
present
with_items
:
-
python3
-
fortune-mod
...
...
management/tasks/main.yml
View file @
276f6570
...
...
@@ -3,7 +3,7 @@
-
name
:
ensure required software for ansible is installed
apt
:
name
:
"
{{
item
}}"
state
:
installed
state
:
present
with_items
:
-
python-yaml
-
python-jinja2
...
...
@@ -53,14 +53,14 @@
-
name
:
ensure we can ipmi other hosts
apt
:
name
:
ipmitool
state
:
installed
state
:
present
tags
:
-
management
-
name
:
ensure we have the necessary packages for building packages
apt
:
name
:
"
{{
item
}}"
state
:
installed
state
:
present
with_items
:
-
build-essential
-
devscripts
...
...
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