mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-04 22:38:14 +00:00
add ansible install part of installs role
This commit is contained in:
parent
9ac04573a4
commit
d89d235b35
5 changed files with 20 additions and 6 deletions
10
roles/installs/tasks/ansible.yml
Normal file
10
roles/installs/tasks/ansible.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
- name: Installing ansible packages
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- ansible
|
||||
- ansible-lint
|
||||
- python3-github3py
|
||||
- python3-rpm
|
||||
state: latest
|
||||
|
||||
|
|
@ -28,8 +28,6 @@
|
|||
- git
|
||||
|
||||
# other
|
||||
- ansible
|
||||
- ansible-lint
|
||||
- cronie
|
||||
|
||||
state: latest
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue