blob: 5fb3492a1bc0fac7284c1e2401e619cf44b51ad4 [file] [log] [blame]
Andy Bavier4ae79c92017-07-27 13:02:11 -07001---
2# roles/maas-user-pubkey/tasks/main.yml
3
4- name: Create maas user
5 user:
6 name: maas
7 groups: "{{ maas_groups }}"
8 state: present
9
10- name: Authorize generated key for maas user
11 authorized_key:
12 user: maas
13 key: "{{ lookup('file', pub_ssh_key_file_location+'/cord_rsa.pub') }}"
14 state: present