Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

role 'hetznerbackup' was not found #1

Open
fuchsi3010 opened this issue Mar 16, 2023 · 0 comments
Open

role 'hetznerbackup' was not found #1

fuchsi3010 opened this issue Mar 16, 2023 · 0 comments

Comments

@fuchsi3010
Copy link

hi, thanks for this playbook!
i've tried to use this by :

  1. cloning the repo to my local machine
  2. editing the variables in hosts.yml
  3. generating & copying a rsa key to the hetzner-storagebox
  4. editing playbook.yml and finally
  5. running ansible-playbook -i hosts.yml playbook.yml.

i'm getting the error:

ERROR! the role 'hetznerbackup' was not found in /home/$USER/ansible/hetznerbackup/roles:/home/$USER.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/$USER/ansible/hetznerbackup

The error appears to be in '/home/$USER/ansible/hetznerbackup/playbook.yml': line 8, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
    - hetznerbackup
      ^ here

i'm new to ansible, could be obvious what i'm missing, but i'm stuck at this point. any help/advice would be great!
PS: do i need to edit defaults/main.yml at all?
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant