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