fixing linting problems

This commit is contained in:
tolerryan
2026-09-01 16:46:52 +00:00
parent 88ea67ccc5
commit 3f03e0dbb0
7 changed files with 20 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
---
# vars that are only used for the first setup. after this the defaults change to not use root.
# this is to setup the ansible user, basic tools and security measures.
# this is to setup the ansible user, basic tools and security measures.
# setup needed connection information
ansible_port: 22
@@ -13,4 +13,4 @@ deploy_user_shell: /bin/bash
deploy_user_ssh_keys:
- "{{ ssh_key_ansible }}"
timezone: "America/Chicago"
timezone: "America/Chicago"

View File

@@ -8,4 +8,4 @@ ssh_key_ansible: !vault |
66666161323665336262393536356535663430393331306232383363353236353866303630643463
37646361653931396334333366393035666137663437633939353232366362373666303239656364
37386236326332363530366332323438323663326136323063643764373163626663623666386635
6538
6538

View File

@@ -8,4 +8,4 @@ common_base_packages:
- unzip
- ca-certificates
- gnupg
- restic
- restic

View File

@@ -12,6 +12,7 @@
args:
executable: /bin/bash
when: docker_check.rc != 0
changed_when: true
- name: Add deploy user to docker group
ansible.builtin.user:

View File

@@ -1,5 +1,5 @@
---
common_base_packages:
firstrun_common_base_packages:
- curl
- wget
- vim
@@ -9,4 +9,4 @@ common_base_packages:
- ca-certificates
- gnupg
- restic
- sudo
- sudo

View File

@@ -12,16 +12,16 @@
state: started
enabled: true
- name: Create databases
become_user: postgres
community.postgresql.postgresql_db:
name: "{{ item.name }}"
loop: "{{ postgres_databases }}"
# - name: Create databases
# become_user: postgres
# community.postgresql.postgresql_db:
# name: "{{ item.name }}"
# loop: "{{ postgres_databases }}"
- name: Create users
become_user: postgres
community.postgresql.postgresql_user:
name: "{{ item.name }}"
password: "{{ item.password }}"
loop: "{{ postgres_users }}"
no_log: true
# - name: Create users
# become_user: postgres
# community.postgresql.postgresql_user:
# name: "{{ item.name }}"
# password: "{{ item.password }}"
# loop: "{{ postgres_users }}"
# no_log: true

View File

@@ -1,2 +1,2 @@
---
ufw_allowed_tcp_ports_extra: []
security_ufw_allowed_tcp_ports_extra: []