reformat: Apply new formatting to all files

This commit is contained in:
Kacper Donat 2023-02-12 15:58:26 +01:00
parent 0a01fa3c6d
commit 26cb43e07c
6 changed files with 108 additions and 106 deletions

View File

@ -1,9 +1,10 @@
--- ---
- hosts: all - hosts: all
become: yes become: yes
name: Setup server
- name: Setup server
import_playbook: setup.yaml import_playbook: setup.yaml
- name: Deploy services - hosts: all
become: yes
name: Deploy services
import_playbook: deploy.yaml import_playbook: deploy.yaml

View File

@ -1,3 +1,4 @@
---
- hosts: - hosts:
- all - all
tasks: tasks:

View File

@ -18,7 +18,7 @@
user: user:
user: "{{ ansible_user }}" user: "{{ ansible_user }}"
groups: docker groups: docker
append: yes append: true
- name: "Add acl package" - name: "Add acl package"
apt: apt:

View File

@ -19,7 +19,7 @@ mysql_databases:
mysql_users: mysql_users:
- name: gitea - name: gitea
priv: gitea.*:ALL priv: gitea.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
30636438636462653666616466313837303063666463656462383737326662636231393933353735 30636438636462653666616466313837303063666463656462383737326662636231393933353735
@ -29,7 +29,7 @@ mysql_users:
35356139353564373630363838393166316339616434306461396238626361653638 35356139353564373630363838393166316339616434306461396238626361653638
- name: keylighter - name: keylighter
priv: keylighter.*:ALL priv: keylighter.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
63656537653463313639373130666537373365393866623031616265643762353739643965326132 63656537653463313639373130666537373365393866623031616265643762353739643965326132
@ -39,7 +39,7 @@ mysql_users:
36613162336666323933333833643838373465333764643134663631333631383231 36613162336666323933333833643838373465333764643134663631333631383231
- name: shitcode - name: shitcode
priv: shitcode.*:ALL priv: shitcode.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
39306237636162363632396565633635373166333732333139343036666434303938613038646665 39306237636162363632396565633635373166333732333139343036666434303938613038646665
@ -49,7 +49,7 @@ mysql_users:
65396634613136306630643964386637653936346236386333323262363430303261 65396634613136306630643964386637653936346236386333323262363430303261
- name: wipe-stg - name: wipe-stg
priv: wipe-stg.*:ALL priv: wipe-stg.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
32316135383561636662333363393635373537616138306538616335393032303962333031346137 32316135383561636662333363393635373537616138306538616335393032303962333031346137
@ -60,7 +60,7 @@ mysql_users:
3863336164663865636633396361353133353238313262313934 3863336164663865636633396361353133353238313262313934
- name: wipe - name: wipe
priv: wipe.*:ALL priv: wipe.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
63313762333536383933373232616461356632373963666438333339626434303661313131383061 63313762333536383933373232616461356632373963666438333339626434303661313131383061
@ -70,7 +70,7 @@ mysql_users:
63323630626239396263626536306632356635373535366335666265396630353430 63323630626239396263626536306632356635373535366335666265396630353430
- name: cojedzie-next - name: cojedzie-next
priv: cojedzie-next.*:ALL priv: cojedzie-next.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
35346533366533313962656662613965626139646164656536616361353137386137353962616137 35346533366533313962656662613965626139646164656536616361353137386137353962616137
@ -81,7 +81,7 @@ mysql_users:
3737323335303065376633356238303961323331396666366636 3737323335303065376633356238303961323331396666366636
- name: cojedzie - name: cojedzie
priv: cojedzie.*:ALL priv: cojedzie.*:ALL
host: '172.%' host: "172.%"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
35346533366533313962656662613965626139646164656536616361353137386137353962616137 35346533366533313962656662613965626139646164656536616361353137386137353962616137
@ -91,5 +91,4 @@ mysql_users:
31303239636231636633366530333530643063303434623763363731616635663639636135316666 31303239636231636633366530333530643063303434623763363731616635663639636135316666
3737323335303065376633356238303961323331396666366636 3737323335303065376633356238303961323331396666366636
mysql_user_passwords: "{{ mysql_users|items2dict(key_name='name', value_name='password') }}" mysql_user_passwords: "{{ mysql_users|items2dict(key_name='name', value_name='password') }}"

View File

@ -67,6 +67,7 @@ service_config:
password: "{{ mysql_user_passwords['gitea'] }}" password: "{{ mysql_user_passwords['gitea'] }}"
legacy: legacy:
www_data_users: ["{{ ansible_user }}"] www_data_users: ["{{ ansible_user }}"]
wipe-stg: wipe-stg:
template: wipe template: wipe
@ -148,7 +149,7 @@ service_config:
62643132313336356365313465353263626565616434633963343764653330316566613633633638 62643132313336356365313465353263626565616434633963343764653330316566613633633638
623838613832393239343036396439383561 623838613832393239343036396439383561
cojedzie: cojedzie:
cojedzie_version: '2022.3.1' cojedzie_version: "2022.3.1"
cojedzie_gtm: GTM-TQNX386 cojedzie_gtm: GTM-TQNX386
cojedzie_database: cojedzie_database:
name: cojedzie name: cojedzie