Deployment with Ansible

Hi All,

I currently use Ansible to deploy all of my servers at home, I find it makes it easier if i mess up some configuration its easy to rollback or to rebuild if required.

I am writing up an Ansible playbook for deploying hassio, so far i can deploy hassio onto centOS, download my config from github etc.

How can I install the addons for Hassio via a command line or some other way with ansible?

3 Likes

Hi @marksie1988 funny I come across your post today.

I am also looking at doing this with my HA setup.

There should be a repo of the docker Hass.io that we can use that in the play book to build the containers

Has anyone made progress figuring out an ansible installation? I’m additionally confused by the distinction between installing “Home Assistant” via Docker and “hass.io”, which appears to want to be installed by running a bash script.

I’m also interested in this. Currently reviewing the bash script to figure out what it does.

Have you guys seen this:

1 Like

That installs home assistant rather than hassio

I’ve started building a role here: https://github.com/totaldebug/ansible-hassio

I’ve not tested it yet likely will in the next few days