[listenbrainz-android] 14dependabot[bot] opened pull request #428 (03dev…dependabot/gradle/dev/com.google.devtools.ksp-2.0.0-1.0.22): Bump com.google.devtools.ksp from 1.9.22-1.0.17 to 2.0.0-1.0.22 https://github.com/metabrainz/listenbrainz-androi…
2024-06-12 16408, 2024
BrainzGit
[listenbrainz-android] 14dependabot[bot] closed pull request #420 (03dev…dependabot/gradle/dev/com.google.devtools.ksp-2.0.0-1.0.21): Bump com.google.devtools.ksp from 1.9.22-1.0.17 to 2.0.0-1.0.21 https://github.com/metabrainz/listenbrainz-androi…
2024-06-12 16411, 2024
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #429 (03dev…dependabot/gradle/dev/com.android.tools.build-gradle-8.4.2): Bump com.android.tools.build:gradle from 8.4.1 to 8.4.2 https://github.com/metabrainz/listenbrainz-androi…
2024-06-12 16417, 2024
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #430 (03dev…dependabot/gradle/dev/io.sentry.android.gradle-4.7.1): Bump io.sentry.android.gradle from 4.7.0 to 4.7.1 https://github.com/metabrainz/listenbrainz-androi…
2024-06-12 16415, 2024
minimal has quit
2024-06-12 16409, 2024
zerodogg has quit
2024-06-12 16422, 2024
zerodogg joined the channel
2024-06-12 16439, 2024
Lotheric has quit
2024-06-12 16429, 2024
Lotheric joined the channel
2024-06-12 16426, 2024
Some-body_ joined the channel
2024-06-12 16417, 2024
DarthGandalf has quit
2024-06-12 16449, 2024
Some-body_ is now known as DarthGandalf
2024-06-12 16452, 2024
pite has quit
2024-06-12 16419, 2024
d4rk joined the channel
2024-06-12 16419, 2024
d4rkie has quit
2024-06-12 16435, 2024
d4rk has quit
2024-06-12 16426, 2024
d4rkie joined the channel
2024-06-12 16458, 2024
zerodogg has quit
2024-06-12 16456, 2024
d4rkie has quit
2024-06-12 16422, 2024
d4rkie joined the channel
2024-06-12 16431, 2024
d4rkie has quit
2024-06-12 16420, 2024
d4rkie joined the channel
2024-06-12 16410, 2024
d4rkie has quit
2024-06-12 16445, 2024
d4rkie joined the channel
2024-06-12 16413, 2024
d4rkie has quit
2024-06-12 16400, 2024
d4rkie joined the channel
2024-06-12 16403, 2024
d4rkie has quit
2024-06-12 16449, 2024
d4rkie joined the channel
2024-06-12 16403, 2024
zerodogg joined the channel
2024-06-12 16412, 2024
d4rkie has quit
2024-06-12 16444, 2024
d4rkie joined the channel
2024-06-12 16440, 2024
d4rkie has quit
2024-06-12 16405, 2024
d4rkie joined the channel
2024-06-12 16437, 2024
d4rkie has quit
2024-06-12 16409, 2024
d4rkie joined the channel
2024-06-12 16436, 2024
zerodogg has quit
2024-06-12 16433, 2024
d4rkie has quit
2024-06-12 16420, 2024
d4rkie joined the channel
2024-06-12 16405, 2024
d4rkie has quit
2024-06-12 16445, 2024
d4rkie joined the channel
2024-06-12 16424, 2024
Kladky joined the channel
2024-06-12 16454, 2024
Kladky has quit
2024-06-12 16444, 2024
Kladky joined the channel
2024-06-12 16426, 2024
zerodogg joined the channel
2024-06-12 16421, 2024
d4rkie has quit
2024-06-12 16448, 2024
d4rkie joined the channel
2024-06-12 16451, 2024
lucifer
bitmap[m]: hi! thanks for bringing up sentry again!
2024-06-12 16436, 2024
lucifer
atj[m]: i need to setup password-less ssh between a group of hadoop/spark nodes using ansible. when i do it manually, i create a new ssh key on leader node and add it to authorized keys on all worker nodes. i see there is an authorized key module to copy the public keys that should come in handy. but any suggestions about how to generate and copy the private key to the leader? could it manually and check in to git but doesn't
lucifer[m]: no, that uses `` ssh-keyscan `` to update `` known_hosts `` so you don't get the "do you recognise this host" message on first connection
2024-06-12 16456, 2024
yellowhatpro[m]
<Jade[m]> "yellowhatpro: If you need any..." <- Hi Jade , thank you for the helping hand, I really wanted to ask a doubt about the dockerfile.... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/pyCPxgeAxupWIVIGqqWYgbfy>)
2024-06-12 16447, 2024
lucifer[m]
atj: right, i meant is that what the overall file does?
2024-06-12 16408, 2024
yellowhatpro[m]
> <@jadedblueeyes:matrix.org> yellowhatpro: If you need any explanations or help with your dockerfile, let me know btw... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/JNguZqXfxWUzrPodaQMdYlIx>)
2024-06-12 16408, 2024
atj[m]
oh sorry, your link had those 2 tasks highlighted
2024-06-12 16451, 2024
lucifer[m]
because if so. i am doing the opposite, generate keys on one host and add to all hosts. so i need to update the commands accordingly.
2024-06-12 16418, 2024
lucifer[m]
atj[m]: yes sorry, that is for the next question.
2024-06-12 16410, 2024
v6lur joined the channel
2024-06-12 16424, 2024
lucifer[m] sent a yaml code block: https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/HOPZlyFjLSXeLOVsiqRRmmey
2024-06-12 16434, 2024
lucifer[m]
for the first part i did this, intent is generate a key on leader and copy to all workers.
2024-06-12 16459, 2024
lucifer[m]
s/workers/hosts/
2024-06-12 16409, 2024
atj[m]
that looks correct. you don't need to template when by that way
2024-06-12 16419, 2024
atj[m]
* that looks correct. you don't need to template when by the way
2024-06-12 16443, 2024
lucifer[m]
i see, makes sense.
2024-06-12 16415, 2024
lucifer[m]
so next question is how do I update the keyscan tasks?
2024-06-12 16417, 2024
atj[m]
I'm not sure it does, but that's Ansible 😉
2024-06-12 16444, 2024
lucifer[m]
hehe lol
2024-06-12 16434, 2024
atj[m]
just to give you some context, because it might not be clear, the `` ssh_keys.yml `` tasks file is included in a loop
well the merged config but that is only this one repo at the moment iiuc.
2024-06-12 16401, 2024
lucifer[m]
i think the output for ssh-keyscan is to be added to known_hosts on the leader. the part i am confused by is where to run ssh-keyscan and what to pass in as the host argument.
2024-06-12 16403, 2024
atj[m]
ok, cool. I think that's the first and only time I've done that in a role
2024-06-12 16445, 2024
lucifer[m]
(still unsure how ssh-keyscan works tbh, i understand why it is needed but not how it works)
2024-06-12 16429, 2024
atj[m]
BTW, in your snippet above you may want to add a block with a when... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/YYuogxJUkQCgprYslNKncwgW>)
2024-06-12 16419, 2024
atj[m]
* BTW, in your snippet above you may want to add a block with a when. Hold on...
2024-06-12 16410, 2024
atj[m]
ssh-keyscan connects to the ssh port on the destination server, retrieves the hosts keys and then generates output suitable for known_hosts
2024-06-12 16451, 2024
lucifer[m]
oh i see, that makes sense. thanks!
2024-06-12 16406, 2024
lucifer[m]
<atj[m]> "ok, cool. I think that's the..." <- which part?
2024-06-12 16400, 2024
atj[m]
the looping include
2024-06-12 16429, 2024
atj[m]
s/include/`include_tasks`/
2024-06-12 16410, 2024
zerodogg has quit
2024-06-12 16406, 2024
atj[m]
ok, I think this might work... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/DMmrlmGTCFcpBLqLelFfNtoG>)
2024-06-12 16405, 2024
atj[m]
I used delegate_to and run_once on the "Retrieve SSH host keys" task so stop it running on every host but to also set the fact on each host
2024-06-12 16432, 2024
atj[m]
that may or may not work as I think it should 😛
2024-06-12 16446, 2024
lucifer[m]
or maybe i could run it normally? let ssh-keyscan run on every host and delegate the known_hosts step to namenode?
2024-06-12 16426, 2024
lucifer[m]
i mean ansible will execute the playbook on all hosts anyway. (for the ssh-keyscan step).