temp!
This commit is contained in:
parent
c4c03aabf4
commit
c6c2d8fb02
18
roles/albert/tasks/RedHat.yaml
Normal file
18
roles/albert/tasks/RedHat.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
- set_fact:
|
||||||
|
baseurl: https://download.opensuse.org/repositories/home:manuelschneid3r/Fedora_
|
||||||
|
|
||||||
|
- name: add repository
|
||||||
|
become: true
|
||||||
|
yum_repository:
|
||||||
|
name: home:manuelschneid3r
|
||||||
|
description: albert from home:manuelschneid3r
|
||||||
|
baseurl: '{{baseurl}}{{ansible_distribution_version}}/'
|
||||||
|
gpgcheck: yes
|
||||||
|
gpgkey: '{{baseurl}}{{ansible_distribution_version}}/repodata/repomd.xml.key'
|
||||||
|
|
||||||
|
- name: install package
|
||||||
|
become: true
|
||||||
|
dnf:
|
||||||
|
name: albert
|
||||||
|
state: latest
|
2
roles/albert/tasks/main.yaml
Normal file
2
roles/albert/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
- include_tasks: '{{ansible_os_family}}.yaml'
|
Loading…
x
Reference in New Issue
Block a user