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.
|
# 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
|
# setup needed connection information
|
||||||
ansible_port: 22
|
ansible_port: 22
|
||||||
@@ -13,4 +13,4 @@ deploy_user_shell: /bin/bash
|
|||||||
deploy_user_ssh_keys:
|
deploy_user_ssh_keys:
|
||||||
- "{{ ssh_key_ansible }}"
|
- "{{ ssh_key_ansible }}"
|
||||||
|
|
||||||
timezone: "America/Chicago"
|
timezone: "America/Chicago"
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ ssh_key_ansible: !vault |
|
|||||||
66666161323665336262393536356535663430393331306232383363353236353866303630643463
|
66666161323665336262393536356535663430393331306232383363353236353866303630643463
|
||||||
37646361653931396334333366393035666137663437633939353232366362373666303239656364
|
37646361653931396334333366393035666137663437633939353232366362373666303239656364
|
||||||
37386236326332363530366332323438323663326136323063643764373163626663623666386635
|
37386236326332363530366332323438323663326136323063643764373163626663623666386635
|
||||||
6538
|
6538
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ common_base_packages:
|
|||||||
- unzip
|
- unzip
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- gnupg
|
- gnupg
|
||||||
- restic
|
- restic
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
when: docker_check.rc != 0
|
when: docker_check.rc != 0
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Add deploy user to docker group
|
- name: Add deploy user to docker group
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
common_base_packages:
|
firstrun_common_base_packages:
|
||||||
- curl
|
- curl
|
||||||
- wget
|
- wget
|
||||||
- vim
|
- vim
|
||||||
@@ -9,4 +9,4 @@ common_base_packages:
|
|||||||
- ca-certificates
|
- ca-certificates
|
||||||
- gnupg
|
- gnupg
|
||||||
- restic
|
- restic
|
||||||
- sudo
|
- sudo
|
||||||
|
|||||||
@@ -12,16 +12,16 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
- name: Create databases
|
# - name: Create databases
|
||||||
become_user: postgres
|
# become_user: postgres
|
||||||
community.postgresql.postgresql_db:
|
# community.postgresql.postgresql_db:
|
||||||
name: "{{ item.name }}"
|
# name: "{{ item.name }}"
|
||||||
loop: "{{ postgres_databases }}"
|
# loop: "{{ postgres_databases }}"
|
||||||
|
|
||||||
- name: Create users
|
# - name: Create users
|
||||||
become_user: postgres
|
# become_user: postgres
|
||||||
community.postgresql.postgresql_user:
|
# community.postgresql.postgresql_user:
|
||||||
name: "{{ item.name }}"
|
# name: "{{ item.name }}"
|
||||||
password: "{{ item.password }}"
|
# password: "{{ item.password }}"
|
||||||
loop: "{{ postgres_users }}"
|
# loop: "{{ postgres_users }}"
|
||||||
no_log: true
|
# 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