36 lines
2.0 KiB
Plaintext
36 lines
2.0 KiB
Plaintext
Tasks:
|
|
☐ Configure nebula
|
|
☐ Add the user path to `/etc/sudoers` file
|
|
☐ Change MOTD to include Neofetch
|
|
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/lineinfile_module.html
|
|
`^Defaults\s*secure_path\=\"`
|
|
✔ Add a simplified zsh setup with Agnoster for root user @done(21-03-07 23:08)
|
|
|
|
Done:
|
|
✔ Create initial folder layout @started(21-02-28 23:29) @done(21-03-03 14:30) @lasted(2d15h1m16s)
|
|
✔ Create test playbook with a task @done(21-03-01 00:16)
|
|
✔ Document creating a hosts file, and an `ansible.cfg` to create an inventory @done(21-03-01 00:07)
|
|
https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html
|
|
Alternative to using an `ansible.cfg` is using the flag `-i hosts`
|
|
Hosts file can contain `ansible_user` and `ansible_ssh_pass` under a `vars` header
|
|
✔ Test a connection with `ansible all -m ping` @done(21-03-01 00:08)
|
|
✔ Document commands @done(21-03-03 14:30)
|
|
Run a playbook with `ansible-playbook -b test.yml`
|
|
If using vault do `--ask-vault-pass`
|
|
Point to an inventory with `-i hosts`
|
|
✔ Still to configure: @done(21-03-04 13:08)
|
|
✔ Monit @done(21-03-04 13:08)
|
|
✔ UFW @done(21-03-04 12:57)
|
|
✔ Networking @done(21-03-04 12:59)
|
|
✔ Configure /etc/email-addresses with from addresses for root and default_user @done(21-03-04 12:57)
|
|
https://serverfault.com/questions/377821/exim-send-every-emails-with-a-predefined-sender
|
|
|
|
Mac:
|
|
Mac functionality needs adding
|
|
Done:
|
|
✔ https://github.com/elliotweiser/ansible-osx-command-line-tools @done(21-03-05 22:02)
|
|
✔ Add tag/variable to toggle between server/mac setup @started(21-03-05 22:01) @done(21-03-05 22:02) @lasted(1m33s)
|
|
✔ Install Homebrew packages for Python @done(21-03-05 22:35)
|
|
`brew install readline xz`
|
|
https://docs.ansible.com/ansible/latest/collections/community/general/homebrew_module.html
|