90b25a6d6c
http://docs.ansible.com/ansible/playbooks_roles.html also made keystone run
22 lines
780 B
YAML
22 lines
780 B
YAML
---
|
|
# Tasks to set users
|
|
- user:
|
|
group: admin
|
|
name: "{{ item }}"
|
|
with_items:
|
|
- egon
|
|
- wim
|
|
|
|
- name: wim key
|
|
authorized_key:
|
|
user: wim
|
|
key: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPcJbucOFOFrPZwM1DKOvscYpDGYXKsgeh3/6skmZn/IhLWYHY6oanm4ifmY3kU0oNXpKgHR43x3JdkIRKmrEpYULspwdlj/ZKPYxFWhVaSTjJvmSJEgy7ET1xk+eVoKV1xRWm/BugWpbseFAOcI9ZwfH++S8JhfX6GgCIy06RUpM8EcFAWb/GO699ZnQ67qMxNdSWYHtK1zu+9svWgEzPk4zc2TihJsc7DxcfQCNfQ4vKH1Im3+QfG5bRtdyVl9yjbE+o4EWhPEWsTBgBosJfbqfywsuzibhTgyybR0Zzm4JN6Wh5wVazvNutAB291dIJt22XEx5tCyOAjLPybLy3 wim@wim-HP-Compaq-Elite-8300-MT'
|
|
state: present
|
|
|
|
- name: egon_key
|
|
authorized_key:
|
|
user: egon
|
|
key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUBdTEHUj6MxvfEU7KcI+UPAvqJ9jGJ7hHm3e7XFTb9 egon@egon-pc'
|
|
state: present
|
|
|