add ansible install part of installs role

This commit is contained in:
ProgramSnail 2025-08-17 12:34:41 +03:00
parent 9ac04573a4
commit d89d235b35
5 changed files with 20 additions and 6 deletions

View file

@ -0,0 +1,10 @@
- name: Installing ansible packages
become: true
ansible.builtin.dnf5:
name:
- ansible
- ansible-lint
- python3-github3py
- python3-rpm
state: latest

View file

@ -28,8 +28,6 @@
- git
# other
- ansible
- ansible-lint
- cronie
state: latest

View file

@ -1,3 +1,7 @@
- name: Installing ansible packages
ansible.builtin.import_tasks: ansible.yml
when: "'ansible' in apps"
- name: Installing common cli apps
ansible.builtin.import_tasks: cli.yml
when: "'cli' in apps"