Skip to content

Commit a46eae7

Browse files
authored
Update the instructions.
1 parent d3b030c commit a46eae7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
# ansible-setup-dev
22

33
Setup dev machines using ansible.
4+
5+
## Dependency
6+
7+
- `pip install ansible`
8+
9+
## Execution
10+
11+
- `ansible-playbook -i hosts_file dev-setup.yml`
12+
13+
**Note:**
14+
15+
- The root folder of the repository should be the `pwd` when the command is executed for the `dotfiles` to be found
16+
- The `hosts_file` should contain a section `dev` listing all the remote machines to setup (either as IP addresses or as hostnames which could be resolved by either the DNS, or using the `~/.ssh/config` file)
17+
18+
19+
## Tasks
20+
21+
- Creates a user (default: `musicallyut`) on the remote machine and ensure that the user can `sudo` without any passwords.
22+
- Copy over the ssh key to allow me to log into the remote machine easily.
23+
- Install various packages on the remote machine: `git`, `vim`, `tmux`, `htop`, etc.
24+
- Copy over all the dotfiles to the remote machine, and setup [`z.sh`](https://github.com/rupa/z).
25+
- Install the `vim` plugins using `vim-plug`.
26+
- Set up `nvm` and install Node version 12.
27+
- Download `miniconda` and extract it.
28+
29+
This leaves the remote machine ready to be used as a development platform for me.

0 commit comments

Comments
 (0)