Open ttimbers opened 4 years ago
I'm going to try following this tutorial somewhat: https://blog.risingstack.com/getting-started-with-ansible-infrastructure-automation/#ansiblesetupconfigurationandautomation
@hsmohammed - OK, I got this working on my laptop and a new AWS EC2 machine. You can test it out by pulling the ansible
branch and following the docs here: https://github.com/UBC-DSCI/rudaux/blob/ansible/jupyterbook/content/01-infrastructure.ipynb
Note you need new EC2 instances, to test this out you can just use the free tier ones.
I have got this working on my laptop too.
Let's move the ansible
directory from here: https://github.ubc.ca/UBC-DSCI/dsci-100-infra into this repo on the ansible
branch.
Before you do that, rename the current ansible
directory on the ansible
branch ansible_toy
Please document all you do in this file: https://github.com/UBC-DSCI/rudaux/blob/ansible/jupyterbook/content/01-infrastructure.ipynb
Remove the grading machine from here: https://github.ubc.ca/UBC-DSCI/dsci-100-infra/blob/master/ansible/inventory-ad-hoc (we will add it back in later).
jhub-mastodon ansible_host=192.168.123.59
should become something like: jhub-mastodon ansible_host=centos@<IP>
I have a question: The new Centos instance has 3 devices
/dev/sda1 /dev/sdb /dev/sdc
which one we will be using?
@ttimbers is this still an open issue?
@hsmohammed - one thing you can do this week is start to prep for automation. This means trying out ansible to do something simple. Please install ansible on your laptop (see instructions here: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installation-guide) and then set up a free EC2 instance (t2.micro, for example) and get ansible to install something on that machine using the instructions you give it on your laptop. I will try the same this week as well.