diff --git a/init-rocky-system-config.yml b/init-rocky-system-config.yml index 04767c1..e268b65 100644 --- a/init-rocky-system-config.yml +++ b/init-rocky-system-config.yml @@ -47,6 +47,9 @@ - name: Configure common scripts ansible.builtin.import_tasks: tasks/scripts.yml + - name: Configure common skel items + ansible.builtin.import_tasks: tasks/skel.yml + post_tasks: - name: Touching run file that ansible has ran here ansible.builtin.file: diff --git a/tasks/skel.yml b/tasks/skel.yml index fb3129e..2a691d1 100644 --- a/tasks/skel.yml +++ b/tasks/skel.yml @@ -6,6 +6,7 @@ dest: "/root/.tmux.conf" owner: root group: root + mode: '0644' with_items: - "{{ ansible_distribution_major_version }}-tmux.conf" @@ -15,6 +16,7 @@ dest: "/home/ansible/{{ item }}" owner: ansible group: ansible + mode: '0644' with_items: - ".inputrc" ...