ansible-ops-management/tasks/skel.yml
Louis Abel b578d9ef69
Changes to rsync and profiles
* rsync: change motd
* skel: change default profiles
2024-05-06 20:25:00 -07:00

34 lines
695 B
YAML

---
# Common skel items Rocky uses
- name: SKEL - root profile
ansible.builtin.copy:
src: "root/{{ item }}"
dest: "/root/.tmux.conf"
owner: root
group: root
mode: '0644'
with_items:
- "{{ ansible_distribution_major_version }}-tmux.conf"
- ".inputrc"
- name: SKEL - ansible profile
ansible.builtin.copy:
src: "home/ansible/{{ item }}"
dest: "/home/ansible/{{ item }}"
owner: ansible
group: ansible
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"
...