blob: 1a4b1157e550af8ad912d8441ef19652a496881d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- name: Create group
group:
name: "{{ emacsconf_group }}"
state: present
- name: Create user
user:
name: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
state: present
- name: Add public key for authorized access
ansible.posix.authorized_key:
user: "{{ emacsconf_user }}"
state: present
key: '{{ item }}'
with_file:
- ../../base/files/keys/sachac
- ../../base/files/keys/orga
|