fix group
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2023-07-25 17:08:53 +02:00
parent 2af9b58d9c
commit fa35d4a77c

View File

@ -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