@@ 1,4 1,7 @@
* anaNAS
+
+[[./ananas.png]]
+
Ansible Playbook to provision an Alpine Linux bases NAS.
Keep in mind, that this playbook is intended to be used with a home NAS,
@@ 39,19 42,20 @@ ansible-vault edit group_vars/all/secret.yml
Additionally you have to install ~python3~ on the host machine.
-To avoid having to type your ssh password,
-you probably want to copy your ssh key to the machine as well:
+Because the ~system~ role will disable ~password-ssh-login~,
+you should copy your ssh key to your new machine
#+begin_src bash
- ssh-copy-id root@<hostname>
+ssh-copy-id root@<hostname/ip>
#+end_src
+
*** Example hosts.yml
#+begin_src yaml
---
homenas:
hosts:
ananas:
- ansible_host: <ip>
+ ansible_host: <hostname/ip>
ansible_user: {{ user }}
ansible_connection: ssh
ansible_ssh_private_key_file: /home/<your-user>/.ssh/id_rsa
@@ 64,3 68,5 @@ homenas:
- [[https://www.redhat.com/sysadmin/ansible-templates-configuration][Ansible template guide]]
- [[https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_module.html#ansible-collections-community-docker-docker-container-module][Ansible community docker container module]]
- [[https://codeberg.org/comcloudway/infra][My VPS infrastructure]]
+
+The logo was created using gimp and a couple of gmic filters combined