Move tasks from update to provision
Move global bashrc and universal package install from update to provision playbooks
This commit is contained in:
@@ -30,6 +30,23 @@
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Install global bash config
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: global.sh
|
||||
dest: /etc/profile.d/ZZ-skylab-global.sh
|
||||
owner: root
|
||||
group: "{{ ansible_user }}"
|
||||
mode: 0644
|
||||
|
||||
- name: Install universal packages
|
||||
when: ansible_distribution == "Rocky"
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
name: "{{ skylab_packages_global + skylab_packages_rocky }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Update unix accounts
|
||||
hosts: linux
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user