fixing linting problems
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -8,4 +8,4 @@ ssh_key_ansible: !vault |
|
||||
66666161323665336262393536356535663430393331306232383363353236353866303630643463
|
||||
37646361653931396334333366393035666137663437633939353232366362373666303239656364
|
||||
37386236326332363530366332323438323663326136323063643764373163626663623666386635
|
||||
6538
|
||||
6538
|
||||
|
||||
@@ -8,4 +8,4 @@ common_base_packages:
|
||||
- unzip
|
||||
- ca-certificates
|
||||
- gnupg
|
||||
- restic
|
||||
- restic
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
---
|
||||
ufw_allowed_tcp_ports_extra: []
|
||||
security_ufw_allowed_tcp_ports_extra: []
|
||||
|
||||
Reference in New Issue
Block a user