RobPiwowarek / WeatherStreams

WUT project for PIK classes
0 stars 0 forks source link

Configuration and developer environment setup #1

Open RobPiwowarek opened 6 years ago

RobPiwowarek commented 6 years ago

Get to know Ansible and how we can use it to automate setting up of our development environment.

Setup the virtual machine given to us by WUT once we finally get access to it.

lychanl commented 6 years ago

Are we going to have private keys (for ssh/https)? Or should I configure ansble to connect using ssh password?

RobPiwowarek commented 6 years ago

I guess password would be more simple? But whichever you prefer. I don't see any particular advantages of either one.

qmenty commented 6 years ago

Generally ssh keys are better solution, because you don't store Linux user password in plain text in ansible config files (which probably are in public git repo)

lychanl commented 6 years ago

We don't store passwords in plain text. All passwords set by/used in config are stored in files encrypted with ansible vault. Currently running ansibles requires options: --ask-pass (makes ansible ask one for ssh password) --ask-become-pass (makes ansible ask one for sudo password) --ask-vault-pass (makes ansible ask one for password to read vault-encrypted files)