~comcloudway/ansible-ananas

df4cb59d3b3ab4e0894cbe2f490b3d60d36a8d2e — Jakob Meier 1 year, 1 month ago 52adb6b
Added logo
licensed CC-BY-SA
2 files changed, 10 insertions(+), 4 deletions(-)

M README.org
A ananas.png
M README.org => README.org +10 -4
@@ 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

A ananas.png => ananas.png +0 -0