refac: use .yaml instead of .yml extension
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 24s
Lint Markdown files / markdown-lint (push) Successful in 4s

This commit is contained in:
2025-10-25 12:37:50 +02:00
parent 0db7c7265a
commit 22048124fd
9 changed files with 6 additions and 6 deletions

17
tasks/copy_skel_file.yaml Normal file
View File

@@ -0,0 +1,17 @@
---
- name: "Exist file {{ skel_file }}"
ansible.builtin.stat:
path: "{{ user_user_home }}/{{ skel_file }}"
register: _skel_file
- name: Copy skel file
when: _skel_file.stat is defined and
_skel_file.stat.exist is defined and
not _skel_file.stat.exist
ansible.builtin.copy:
src: "/etc/skel/{{ _skel_file }}"
dest: "{{ user_user_home }}/{{ skel_file }}"
owner: "{{ unix_user.key }}"
group: "{{ unix_user.value.group | default('users') }}"
mode: "0600"