rpi-base/tasks/main.yml
changeset 14 47937f95ac26
parent 13 c74df4bbd49d
child 34 ecbdaed7f151
equal deleted inserted replaced
13:c74df4bbd49d 14:47937f95ac26
    49   become: yes
    49   become: yes
    50   user:
    50   user:
    51     name: "{{admin_user_name}}"
    51     name: "{{admin_user_name}}"
    52     password: "{{admin_user_password}}"
    52     password: "{{admin_user_password}}"
    53     groups: "sudo,users"
    53     groups: "sudo,users"
       
    54     shell: "/bin/bash"
    54     append: yes
    55     append: yes
    55 
    56 
    56 - name: authorize admin ssh keys
    57 - name: authorize admin ssh keys
    57   become: yes
    58   become: yes
    58   authorized_key: user="{{admin_user_name}}" key="https://github.com/{{github_user}}.keys"
    59   authorized_key: user="{{admin_user_name}}" key="https://github.com/{{github_user}}.keys"