OpenNebula / one-deploy

Apache License 2.0
25 stars 12 forks source link

Admin pubkey feature may produce duplicated keys #64

Closed sk4zuzu closed 4 months ago

sk4zuzu commented 4 months ago

Description Configuration like this:

    admin_pubkey: |
      {{ _admin_pubkey_loaded }}
      ssh-rsa ...
      ssh-rsa ...

is not split into separate lines, that causes idempotence issue + duplicated keys.

To Reproduce

  1. Use config similar to the one above.
  2. Run ansible-playbook.

Expected behavior No duplicates, correctly working idempotence.

Details

Additional context N/A

Progress Status