I do not expect a mode=0755 here.
|
- name: create directory for git configuration |
|
ansible.builtin.file: |
|
path: /home/{{ git_username }} |
|
state: directory |
|
owner: "{{ git_username | default(omit) }}" |
|
group: "{{ git_groupname | default(omit) }}" |
|
mode: "0755" |
|
when: |
|
- getent_passwd is defined |
|
- getent_passwd[git_username] != none |
This might raise a security issue.
I do not expect a
mode=0755here.ansible-role-git/tasks/main.yml
Lines 22 to 31 in 540e339
This might raise a security issue.