Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Simple Deploy- and Management
system.freebsd
Commits
6cf6272b
Commit
6cf6272b
authored
May 28, 2019
by
Pietsch, Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added default value for system_upgrade_states
parent
00d03cae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tasks/upgrade.yml
tasks/upgrade.yml
+4
-2
No files found.
tasks/upgrade.yml
View file @
6cf6272b
...
...
@@ -3,6 +3,9 @@
set_fact
:
doreboot
:
False
-
debug
:
var
:
system_upgrade_states
-
block
:
-
name
:
get hostname of migrationhost
set_fact
:
...
...
@@ -27,14 +30,13 @@
create_nullfs
:
True
migration_host
:
"
{{
migrationhostip
}}"
when
:
(not (_container.key in contlist.jails) or _container.value == True) and _container.key != 'host'
loop
:
"
{{
system_upgrade_states[migrationhost]
|
dict2items
}}"
loop
:
"
{{
system_upgrade_states[migrationhost]
|
default({})
|
dict2items
}}"
loop_control
:
loop_var
:
_container
-
name
:
set variable that controls the reboot of the host
set_fact
:
doreboot
:
"
{{
system_upgrade_states[migrationhost].host
}}"
when
:
system_upgrade_states is defined
-
block
:
...
...
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