iancleary / infra

Personal Infrastructure as code
GNU General Public License v3.0
7 stars 1 forks source link

docker_compose state for odroid1 and odroid2 #66

Open iancleary opened 7 months ago

iancleary commented 7 months ago

docker_compose_state: present or stopped

only run tailscale up docker exec if state == present

That way all the images are there, the compose files are there, but the services aren't running nor are they authenticated with tailscale.

iancleary commented 7 months ago

perhaps this is a separate variable for whether or not the node is the primary. then both have docker_compose_state: present to be more of a hot spare.