ansible-ops-management/tasks/skel.yml

34 lines
695 B
YAML
Raw Normal View History

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