Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: Instalar paquetes comunes
- apt: name={{ item }} state=latest update_cache=yes cache_valid_time=3600
- with_items: common_packages
- - user:
- name: careto
- generate_ssh_key: yes
- ssh_key_bits: 2048
- group: admin
- #password: lala
- update_password: always
- ssh_key_file: .ssh/id.rsa
- - authorized_key:
- user: careto
- state: present
- key: "{{ lookup('file', '/home/careto/.ssh/id_rsa.pub') }}"
Add Comment
Please, Sign In to add comment