This commit is contained in:
parent
2af9b58d9c
commit
fa35d4a77c
@ -4,7 +4,7 @@
|
|||||||
path: /home/ansible@intra.tormakris.dev/.ssh
|
path: /home/ansible@intra.tormakris.dev/.ssh
|
||||||
state: directory
|
state: directory
|
||||||
owner: ansible@intra.tormakris.dev
|
owner: ansible@intra.tormakris.dev
|
||||||
group: ansible@intra.tormakris.dev
|
group: domain users@intra.tormakris.dev
|
||||||
|
|
||||||
- name: Copy authorized_keys
|
- name: Copy authorized_keys
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@ -12,9 +12,9 @@
|
|||||||
dest: /home/ansible@intra.tormakris.dev/.ssh/authorized_keys
|
dest: /home/ansible@intra.tormakris.dev/.ssh/authorized_keys
|
||||||
mode: 0600
|
mode: 0600
|
||||||
owner: ansible@intra.tormakris.dev
|
owner: ansible@intra.tormakris.dev
|
||||||
group: ansible@intra.tormakris.dev
|
group: domain users@intra.tormakris.dev
|
||||||
|
|
||||||
- name: Check if group is presend in sudoers
|
- name: Check if group is present in sudoers
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
state: absent
|
state: absent
|
||||||
path: /etc/sudoers
|
path: /etc/sudoers
|
||||||
|
Loading…
Reference in New Issue
Block a user