minor reformatting on users role
parent
5ba72b1d88
commit
11df0dab83
|
@ -1,24 +0,0 @@
|
||||||
- name: commit ansible's home to lbu
|
|
||||||
lbu:
|
|
||||||
include:
|
|
||||||
- /home/rilla
|
|
||||||
- /home/rilla/.ssh/authorized_keys
|
|
||||||
exclude:
|
|
||||||
- /home/rilla/.ash_history
|
|
||||||
|
|
||||||
- name: commit ansible's home to lbu
|
|
||||||
lbu:
|
|
||||||
include:
|
|
||||||
- /var/lib/ansible
|
|
||||||
- /var/lib/ansible/.ssh/authorized_keys
|
|
||||||
exclude:
|
|
||||||
- /var/lib/ansible/.ansible
|
|
||||||
- /var/lib/ansible/.ash_history
|
|
||||||
|
|
||||||
- name: commit woodpecker's home to lbu
|
|
||||||
lbu:
|
|
||||||
include:
|
|
||||||
- /var/lib/woodpecker
|
|
||||||
- /var/lib/woodpecker/.ssh/authorized_keys
|
|
||||||
exclude:
|
|
||||||
- /var/lib/woodpecker/.ash_history
|
|
|
@ -30,4 +30,12 @@
|
||||||
with_file:
|
with_file:
|
||||||
- public_keys/yubikey
|
- public_keys/yubikey
|
||||||
- public_keys/ansible
|
- public_keys/ansible
|
||||||
register: ansible_keys
|
|
||||||
|
- name: commit ansible's home to lbu
|
||||||
|
lbu:
|
||||||
|
include:
|
||||||
|
- /var/lib/ansible
|
||||||
|
- /var/lib/ansible/.ssh/authorized_keys
|
||||||
|
exclude:
|
||||||
|
- /var/lib/ansible/.ansible
|
||||||
|
- /var/lib/ansible/.ash_history
|
||||||
|
|
|
@ -6,7 +6,3 @@
|
||||||
|
|
||||||
- name: setup user 'woodpecker'
|
- name: setup user 'woodpecker'
|
||||||
include_tasks: ansible.yml
|
include_tasks: ansible.yml
|
||||||
|
|
||||||
- name: commit user's home to alpine lbu
|
|
||||||
include_tasks: alpine.yml
|
|
||||||
when: ansible_distribution == "Alpine"
|
|
||||||
|
|
|
@ -28,4 +28,12 @@
|
||||||
path: /home/rilla/.ssh/authorized_keys
|
path: /home/rilla/.ssh/authorized_keys
|
||||||
with_file:
|
with_file:
|
||||||
- public_keys/yubikey
|
- public_keys/yubikey
|
||||||
register: rilla_keys
|
|
||||||
|
- name: commit rilla's home to lbu
|
||||||
|
lbu:
|
||||||
|
include:
|
||||||
|
- /home/rilla
|
||||||
|
- /home/rilla/.ssh/authorized_keys
|
||||||
|
exclude:
|
||||||
|
- /home/rilla/.ash_history
|
||||||
|
when: ansible_distribution == "Alpine"
|
||||||
|
|
|
@ -29,4 +29,12 @@
|
||||||
with_file:
|
with_file:
|
||||||
- public_keys/yubikey
|
- public_keys/yubikey
|
||||||
- public_keys/woodpecker
|
- public_keys/woodpecker
|
||||||
register: woodpecker_keys
|
|
||||||
|
- name: commit woodpecker's home to lbu
|
||||||
|
lbu:
|
||||||
|
include:
|
||||||
|
- /var/lib/woodpecker
|
||||||
|
- /var/lib/woodpecker/.ssh/authorized_keys
|
||||||
|
exclude:
|
||||||
|
- /var/lib/woodpecker/.ash_history
|
||||||
|
when: ansible_distribution == "Alpine"
|
||||||
|
|
Loading…
Reference in New Issue