ssh-config role / docs / updated user config

This commit is contained in:
Vincent V.d Kussen 2018-08-15 20:35:23 +02:00
parent f12466dead
commit a96d82d5ed
11 changed files with 233 additions and 109 deletions

View file

@ -1,21 +1,33 @@
---
user_groups:
- name: remember
users:
- name: remember
keys:
- file: key1
state: present
shell_lines:
- line: "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh"
state: present
- line: "line2"
state: absent
- name: test
keys:
- file: key2
state: absent
# shell_lines:
# - "line1"
# - "line2"
#---
#user_groups:
# - name: mygroup
# gid: 700
# - name: mysecondgroup
# gid: 702
# state: absent
#
#
#users:
# - name: remember
# state: present
# password: "blabla"
# groups:
# - mygroup
# uid: 1100
# keys:
# - file: key1
# state: present
# shell_lines:
# - line: "testline"
# state: present
# - line: "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh"
# state: present
# - line: "alias ls='ls lah'"
# state: present
# - name: test
# keys:
# - file: key2
# state: absent
# shell_lines:
# - line: "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh"
# state: present