Use become #116

Closed
reynir wants to merge 1 commits from become into main
Owner

We don't setup ssh keys for root anymore.

We don't setup ssh keys for root anymore.
reynir added 1 commit 2022-11-16 12:49:46 +00:00
ead89f95fd Use become
We don't setup ssh keys for root anymore.
Owner

How would we not use the root user on the first run, when our users don't exist yet?

How would we not use the root user on the first run, when our users don't exist yet?
Owner

It wouldn't work with Vagrant, because our users don't exist yet.

It wouldn't work with Vagrant, because our users don't exist yet.
Owner

Also,

We don't setup ssh keys for root anymore.

Yes we do. But maybe we shouldn't? In Vagrant the default user is named vagrant, and it has an empty password. But in production, which user should the initial SSH session use? Or maybe I'm overdoing the reproducability thingy, I don't know :D

Also, > We don't setup ssh keys for root anymore. Yes we do. But maybe we shouldn't? In Vagrant the default user is named `vagrant`, and it has an empty password. But in production, which user should the initial SSH session use? Or maybe I'm overdoing the reproducability thingy, I don't know :D
Author
Owner

Also,

We don't setup ssh keys for root anymore.

Yes we do.

Oh. I thought #35 was merged. In any case, at the moment only your key is in root's authorized_keys :D

> Also, > > > We don't setup ssh keys for root anymore. > > Yes we do. Oh. I thought https://git.data.coop/data.coop/ansible/pulls/35 was merged. In any case, at the moment only your key is in root's authorized_keys :D
Owner

@reynir can we close this since #120 has been merged?

@reynir can we close this since #120 has been merged?
Author
Owner

Hmm, yes, it's not needed now. With #35 we probably need it again. I'm not sure why #34 was closed when #35 has not been merged :-)

Hmm, yes, it's not needed *now*. With https://git.data.coop/data.coop/ansible/pulls/35 we probably need it again. I'm not sure why https://git.data.coop/data.coop/ansible/issues/34 was closed when #35 has not been merged :-)
Author
Owner

We can come back to this when it becomes relevant.

We can come back to this when it becomes relevant.
reynir closed this pull request 2022-11-16 18:24:24 +00:00
Owner

Hmm, yes, it's not needed now. With #35 we probably need it again. I'm not sure why #34 was closed when #35 has not been merged :-)

Oh, that is a good question. I can't answer it and I closed it 🤣

> Hmm, yes, it's not needed *now*. With https://git.data.coop/data.coop/ansible/pulls/35 we probably need it again. I'm not sure why https://git.data.coop/data.coop/ansible/issues/34 was closed when #35 has not been merged :-) Oh, that is a good question. I can't answer it and I closed it 🤣

Pull request closed

Sign in to join this conversation.
No description provided.