Switch to new VPS
parent
fa6f3ba4b1
commit
4df23c6b9d
|
@ -11,13 +11,13 @@ To manage secrets, this repository use Ansible Vault.
|
||||||
Create a secret
|
Create a secret
|
||||||
|
|
||||||
```
|
```
|
||||||
ansible-vault create inv/host_vars/new.chosto.me/secrets.yml
|
ansible-vault create inv/host_vars/chosto.me/secrets.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit a secret
|
Edit a secret
|
||||||
|
|
||||||
```
|
```
|
||||||
ansible-vault edit inv/host_vars/new.chosto.me/secrets.yml
|
ansible-vault edit inv/host_vars/chosto.me/secrets.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
all:
|
all:
|
||||||
hosts:
|
hosts:
|
||||||
new.chosto.me:
|
chosto.me:
|
||||||
ansible_port: 2220
|
ansible_port: 2220
|
||||||
ansible_user: chosto
|
ansible_user: chosto
|
||||||
ansible_ssh_private_key_file: ~/.ssh/scaleway
|
ansible_ssh_private_key_file: ~/.ssh/scaleway
|
||||||
|
|
|
@ -26,4 +26,5 @@ AWS_ACCESS_KEY_ID={{ scaleway_s3_id }}
|
||||||
AWS_SECRET_ACCESS_KEY={{ scaleway_s3_key }}
|
AWS_SECRET_ACCESS_KEY={{ scaleway_s3_key }}
|
||||||
AWS_STORAGE_BUCKET_NAME=celiglyphe
|
AWS_STORAGE_BUCKET_NAME=celiglyphe
|
||||||
AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud
|
AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud
|
||||||
|
AWS_S3_REGION_NAME=fr-par
|
||||||
PROXY_MEDIA=false
|
PROXY_MEDIA=false
|
||||||
|
|
Loading…
Reference in New Issue