6
13
silas

@lemmy.eco.br

silas 4 points 2 years ago

Yeah, I ended up using awk, which solved my problem perfectly. I was just curious if I could do that with sed, but it seems too complicated. Thank very much, guys!

path: 0 14545388, hotness: undefined, score: 4, children: 1
silas 3 points 3 years ago

Olás. Você já está escrevendo o próprio playbook ou está usando algo pronto? Sem trecho de código ou mensagens de erro fica difícil de saber qual o problema.

path: 0 1760677, hotness: undefined, score: 3, children: 5
silas 3 points 3 years ago

Aqui tá normal.

path: 0 1760736, hotness: undefined, score: 3, children: 3
silas 3 points 3 years ago

That is exactly what I'm looking now! Thanks! I'm actually new to this paradigm. How is it more secure than storing password in plain text? I mean, in your application, you'll have to store a token or something, so you can query Vault server, right? If an attacker have access to the server, it can query the Vault server with the token, retrieving relevant secrets, no?

path: 0 1758322 1759797 1761639 1761785, hotness: undefined, score: 3, children: 1
silas 3 points 3 years ago

Olha, eu aprendi tudo lendo a documentação oficial mesmo (em inglês). Mas passa aqui o erro que tá dando ou a dificuldade que você tá tendo, quem sabe a gente consegue te ajudar.

path: 0 1760677 1762142 1762226, hotness: undefined, score: 3, children: 3
silas 3 points 3 years ago path: 0 1760736 1763318 1763442, hotness: undefined, score: 3, children: 1
silas 2 points 3 years ago

Thanks for the answer. I'm actually deploying to a local Linux server. Is there any tool I could use?

path: 0 1758322 1759797, hotness: undefined, score: 2, children: 6
silas 2 points 3 years ago

Thanks. I would still have to store ansible-vault password locally or something like that, no?

path: 0 1758322 1759797 1760589 1760707, hotness: undefined, score: 2, children: 1
silas 1 point 3 years ago

Thanks for the reply. Yeah, I'll probably go that way once I get familiar with basic HTTP authentication in Spring.

path: 0 6282916 6282918, hotness: undefined, score: 1, children: 0
silas 1 point 3 years ago

Thanks for the reply. I was thinking about that, but in this specific case, changing back button behavior seem to improve user experience. See, for instance, Lemmy. IIRC, after submitting a new post, you are redirected to the post page you just submitted. If you press browser back button, you are taken to the community index page, not the submit form. How does Lemmy achieve this? Is it one single page, which content is changed by Javascript or, it is like my application, in which a full reload of the page is done?

path: 0 6831503 6835173, hotness: undefined, score: 1, children: 1
silas 1 point 3 years ago

BTW, I'm also written the backend. There are some examples on the web about solving this problem in the backend using cookies to keep track of the state. I'm give it a try.

path: 0 6831503 6835173 6835492, hotness: undefined, score: 1, children: 0
silas 1 point 3 years ago

Thanks. It seems these functions are useful in a SPA context? Since I'm reloading every page (I'm using plain HTML for most of this application) these functions seem not to be really useful for the purpose I wrote. Maybe I'm doing something wrong?

path: 0 6828585 6835107, hotness: undefined, score: 1, children: 1
silas 1 point 3 years ago

Pelo que entendi tem que copiar as configurações de group_vars/all.yml para inventories/<suamaquina>/group_vars/nas.yml e alterá-las nesse arquivo, conforme as suas necessidades né?

path: 0 1760677 1762142 1762226 1762679 1763007, hotness: undefined, score: 1, children: 1

thanks for using Leebra!

go to feed...