Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Home Assistant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
Home Assistant
Commits
bd05e3bb
Commit
bd05e3bb
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Fix bugs for changes in 2022.6
parent
71f2166e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+1
-0
1 addition, 0 deletions
defaults/main.yml
handlers/main.yml
+5
-16
5 additions, 16 deletions
handlers/main.yml
tasks/home-assistant.yml
+1
-1
1 addition, 1 deletion
tasks/home-assistant.yml
with
7 additions
and
17 deletions
defaults/main.yml
0 → 100644
+
1
−
0
View file @
bd05e3bb
home_assistant_image
:
ghcr.io/home-assistant/home-assistant:stable
This diff is collapsed.
Click to expand it.
handlers/main.yml
+
5
−
16
View file @
bd05e3bb
...
...
@@ -4,12 +4,13 @@
-
name
:
Re-create the hass container
docker_container
:
name
:
home-assistant
image
:
homeassistant
/home-assistant
init
:
yes
image
:
'
{{
home
_
assistant
_image
}}'
init
:
no
state
:
started
recreate
:
yes
network_mode
:
host
restart_policy
:
always
restart_policy
:
unless-stopped
privileged
:
yes
volumes
:
-
/opt/home-assistant:/config
-
/etc/localtime:/etc/localtime:ro
...
...
@@ -32,16 +33,4 @@
command
:
docker exec home-assistant /bin/bash -c "cp -r /config/patches/site-packages /usr/local/lib/python3.9/"
-
name
:
Re-start the hass container
docker_container
:
name
:
home-assistant
image
:
homeassistant/home-assistant
init
:
yes
state
:
started
restart
:
yes
network_mode
:
host
restart_policy
:
always
volumes
:
-
/opt/home-assistant:/config
-
/etc/localtime:/etc/localtime:ro
-
/root/.ssh:/root/.ssh
-
'
{{
home_assistant_media_path
}}:/media'
command
:
docker restart home-assistant
This diff is collapsed.
Click to expand it.
tasks/home-assistant.yml
+
1
−
1
View file @
bd05e3bb
...
...
@@ -3,7 +3,7 @@
-
name
:
Pull docker image
docker_image
:
name
:
homeassistant
/home-assistant
name
:
'
{{
home
_
assistant
_image
}}'
source
:
pull
force_source
:
yes
notify
:
...
...
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