diff --git a/README.md b/README.md index ebe6429..c2730ee 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ To manage secrets, this repository use Ansible Vault. 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 ``` -ansible-vault edit inv/host_vars/new.chosto.me/secrets.yml +ansible-vault edit inv/host_vars/chosto.me/secrets.yml ``` ### Server diff --git a/inv/host_vars/new.chosto.me/secrets.yml b/inv/host_vars/chosto.me/secrets.yml similarity index 100% rename from inv/host_vars/new.chosto.me/secrets.yml rename to inv/host_vars/chosto.me/secrets.yml diff --git a/inv/host_vars/new.chosto.me/vars.yml b/inv/host_vars/chosto.me/vars.yml similarity index 100% rename from inv/host_vars/new.chosto.me/vars.yml rename to inv/host_vars/chosto.me/vars.yml diff --git a/inv/static.yml b/inv/static.yml index 5bedaeb..faceb7b 100644 --- a/inv/static.yml +++ b/inv/static.yml @@ -1,6 +1,6 @@ all: hosts: - new.chosto.me: + chosto.me: ansible_port: 2220 ansible_user: chosto ansible_ssh_private_key_file: ~/.ssh/scaleway diff --git a/roles/funkwhale/templates/conf.env.j2 b/roles/funkwhale/templates/conf.env.j2 index 3e670d5..3acb3ff 100644 --- a/roles/funkwhale/templates/conf.env.j2 +++ b/roles/funkwhale/templates/conf.env.j2 @@ -26,4 +26,5 @@ AWS_ACCESS_KEY_ID={{ scaleway_s3_id }} AWS_SECRET_ACCESS_KEY={{ scaleway_s3_key }} AWS_STORAGE_BUCKET_NAME=celiglyphe AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud +AWS_S3_REGION_NAME=fr-par PROXY_MEDIA=false