38 lines
831 B
YAML
38 lines
831 B
YAML
---
|
|
- name: Set system timezone
|
|
ansible.builtin.command: timedatectl set-timezone "{{ timezone }}"
|
|
register: output
|
|
changed_when: output.rc != 0
|
|
|
|
- name: Upgrade all packages
|
|
ansible.builtin.dnf:
|
|
name: "*"
|
|
update_only: true
|
|
|
|
- name: Add CodeReady Builder repo
|
|
ansible.builtin.command: dnf config-manager --set-enabled crb
|
|
register: output
|
|
changed_when: output.rc != 0
|
|
|
|
- name: Install QEMU Guest Agent
|
|
ansible.builtin.dnf:
|
|
name:
|
|
- 'qemu-guest-agent'
|
|
|
|
- name: Enable and start QEMU Guest Agent
|
|
ansible.builtin.service:
|
|
name: qemu-guest-agent
|
|
enabled: yes
|
|
state: started
|
|
|
|
- name: Install EPEL
|
|
ansible.builtin.dnf:
|
|
name:
|
|
- 'epel-release'
|
|
update_cache: true
|
|
|
|
- name: Install Dev Tools
|
|
ansible.builtin.dnf:
|
|
name:
|
|
- '@Development tools'
|
|
update_cache: true |