From b578d9ef6948684da7979e25c9c269a499c50530 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 6 May 2024 20:25:00 -0700 Subject: [PATCH] Changes to rsync and profiles * rsync: change motd * skel: change default profiles --- files/etc/skel/.inputrc | 1 + files/root/.inputrc | 1 + tasks/skel.yml | 11 +++++++++++ templates/etc/rsyncd-motd | 12 ++++++++---- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 files/etc/skel/.inputrc create mode 100644 files/root/.inputrc diff --git a/files/etc/skel/.inputrc b/files/etc/skel/.inputrc new file mode 100644 index 0000000..b2cc9d6 --- /dev/null +++ b/files/etc/skel/.inputrc @@ -0,0 +1 @@ +set editing-mode vi diff --git a/files/root/.inputrc b/files/root/.inputrc new file mode 100644 index 0000000..b2cc9d6 --- /dev/null +++ b/files/root/.inputrc @@ -0,0 +1 @@ +set editing-mode vi diff --git a/tasks/skel.yml b/tasks/skel.yml index 2a691d1..7deb3ae 100644 --- a/tasks/skel.yml +++ b/tasks/skel.yml @@ -9,6 +9,7 @@ mode: '0644' with_items: - "{{ ansible_distribution_major_version }}-tmux.conf" + - ".inputrc" - name: SKEL - ansible profile ansible.builtin.copy: @@ -19,4 +20,14 @@ mode: '0644' with_items: - ".inputrc" + +- name: All user profiles + ansible.builtin.copy: + src: "etc/skel/{{ item }}" + dest: "/etc/skel/{{ item }}" + owner: root + group: root + mode: '0644' + with_items: + - ".inputrc" ... diff --git a/templates/etc/rsyncd-motd b/templates/etc/rsyncd-motd index 4570812..eba39e4 100644 --- a/templates/etc/rsyncd-motd +++ b/templates/etc/rsyncd-motd @@ -13,12 +13,16 @@ Welcome to the Rocky Linux rsync service @ msync.rockylinux.org - This service is for the use of mirror partners of the Rocky Enterprise Software - Foundation to synchronize distributed software. We recommend end users download from - public mirrors listed on this page. https://downloads.rockylinux.org + This service is for the use of mirror partners of the Rocky Linux project and the Rocky + Enterprise Software Foundation to synchronize distributed software. We recommend end + users download from public mirrors listed on this page. https://mirrors.rockylinux.org We reserve the right to modify access controls and traffic flows as necessary to - maintain continuity of service. Contact us: mirrors@rockylinux.org + maintain continuity of service. Contact us: + + * mirrors@rockylinux.org + * https://lists.resf.org/mailman3/lists/rocky-mirror.lists.resf.org/ + * https://chat.rockylinux.org/rocky-linux/channels/infrastructure *-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-*