Guest User

Untitled

a guest
Nov 12th, 2017
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. ---
  2. - name: Instalar paquetes comunes
  3. apt: name={{ item }} state=latest update_cache=yes cache_valid_time=3600
  4. with_items: common_packages
  5.  
  6. - user:
  7. name: careto
  8. generate_ssh_key: yes
  9. ssh_key_bits: 2048
  10. group: admin
  11. #password: lala
  12. update_password: always
  13. ssh_key_file: .ssh/id.rsa
  14. - authorized_key:
  15. user: careto
  16. state: present
  17. key: "{{ lookup('file', '/home/careto/.ssh/id_rsa.pub') }}"
Add Comment
Please, Sign In to add comment