From b3e63a669457d56efad83786c4b3ccaa68541d2d Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 4 Feb 2024 14:03:39 -0800 Subject: [PATCH] mu --- lotus-land-story/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lotus-land-story/main.yml b/lotus-land-story/main.yml index 062364c..3d1afcd 100644 --- a/lotus-land-story/main.yml +++ b/lotus-land-story/main.yml @@ -24,16 +24,17 @@ state: present - import_playbook: ../playbooks/tailscale.yml # noqa: name[play] -- import_playbook: postgres.yml # noqa: name[play] - import_playbook: docker.yml # noqa: name[play] +- import_playbook: postgres.yml # noqa: name[play] +- import_playbook: redis.yml # noqa: name[play] -- name: Set up postgres +- name: Listen on the docker interface hosts: lotus-land-story tasks: - name: Set up postgres to listen on docker0 interface ansible.builtin.lineinfile: - dest: "/etc/postgresql/13/main/conf.d/listen.conf" + dest: /etc/postgresql/13/main/conf.d/listen.conf regexp: '^#?listen_addresses=' line: "listen_addresses='localhost,{{ docker_ip.address }}'" state: present