diff --git a/README.md b/README.md index 73580b6..9153e65 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Atlas -Terraform and Ansible scripts to configure our KVM hypervisor Debian server. +Atlas is our first Debian server running a KVM hypervisor. To initialize Terraform: 1. Create pg.tfbackend including `conn_str = "postgres://terraform@atlas.lan/terraform_state"` diff --git a/configure/atlas.yml b/configure/atlas.yml index 907fc90..e5202a2 100644 --- a/configure/atlas.yml +++ b/configure/atlas.yml @@ -71,11 +71,12 @@ databases: all method: trust users: terraform - address: 192.168.0.0/16 + address: "{{ item }}" create: true become: true become_user: postgres notify: restart postgres + with_items: ["192.168.0.0/16", "10.0.0.0/8"] - name: Open postgres port ini_file: path: /etc/postgresql/15/main/postgresql.conf