Add autosigner role
- Move builder infrastructure repo to own role - Add initial tasks to autosigner role
This commit is contained in:
parent
979fcada2a
commit
682a04b292
7 changed files with 13 additions and 3 deletions
|
@ -38,6 +38,7 @@
|
|||
- nagios_client
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- autosigner
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/hosts.yml"
|
||||
|
|
3
roles/autosigner/meta/main.yml
Normal file
3
roles/autosigner/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: builder_repo }
|
4
roles/autosigner/tasks/main.yml
Normal file
4
roles/autosigner/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: add pkgs
|
||||
yum: state=latest pkg={{ item }}
|
||||
with_items:
|
||||
- sigul
|
2
roles/builder_repo/tasks/main.yml
Normal file
2
roles/builder_repo/tasks/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: add builder infra yum repo
|
||||
copy: src=builder-infrastructure.repo dest=/etc/yum.repos.d/builder-infrastructure.repo
|
3
roles/koji_builder/meta/main.yml
Normal file
3
roles/koji_builder/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: builder_repo }
|
|
@ -36,9 +36,6 @@
|
|||
- /pub/fedora
|
||||
- /pub/epel
|
||||
|
||||
- name: add builder infra yum repo
|
||||
copy: src=builder-infrastructure.repo dest=/etc/yum.repos.d/builder-infrastructure.repo
|
||||
|
||||
- name: add pkgs
|
||||
yum: state=installed pkg={{ item }}
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue