advanced_var_server_db.yml 978 B

12345678910111213141516171819202122232425262728293031
  1. ---
  2. usermanage_servers:
  3. #Simplest form (create testuser and push the testuser key defined in the userdb)
  4. - user : "label"
  5. groups : "sudo"
  6. uid : 4000
  7. - user : "ops"
  8. groups : "adm"
  9. state : "present"
  10. keys :
  11. - user : 'daniels'
  12. state : 'present'
  13. key_options : 'no-port-forwarding'
  14. - user : 'stewart'
  15. state : 'present'
  16. - user : "dev"
  17. groups : 'ops,lp'
  18. state : 'present'
  19. shell : '/bin/false'
  20. keys :
  21. - user : 'vodka'
  22. state : 'present'
  23. key_options : 'no-port-forwarding'
  24. - user : 'raki' # should be not there
  25. state : 'present'
  26. - user : tool
  27. groups : 'ops,lp'
  28. state : 'present'