From 206ac043ccbaaa492a6a4033a960d39b79f5b89c Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 21 Apr 2023 18:30:11 -0700 Subject: [PATCH] add skel --- init-rocky-system-config.yml | 3 +++ tasks/skel.yml | 2 ++ 2 files changed, 5 insertions(+) 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" ...