Skip to content

Commit

Permalink
Make rpm_packaging playbook use rpm_packaging role
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Oct 25, 2024
1 parent fe74fde commit e07e706
Showing 1 changed file with 2 additions and 49 deletions.
51 changes: 2 additions & 49 deletions playbooks/rpm_packaging.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,3 @@
---
- hosts: all
tasks:
- name: Install dependencies for packaging tooling
yum:
name: "{{ package_list }}"
state: present
vars:
package_list:
- git-core
- git-annex
- rubygem-nokogiri
- rpmspectool
- rubygem-gem2rpm
- make
- gcc
- redhat-rpm-config
- ruby-devel
- curl-devel
- gem
- python3-ruamel-yaml
- tito
- mock
- jq
- python3-pip
- wget
- vim
- python3-semver
become: true

- name: Install obal
pip:
name: obal
state: present
executable: pip3
become: true

- name: Clone foreman-packaging
git:
repo: https://github.com/theforeman/foreman-packaging.git
dest: /home/vagrant/foreman-packaging
version: rpm/develop

- name: Add vagrant user to mock group
user:
name: vagrant
groups: mock
append: true
become: true
...
roles:
- rpm_packaging

0 comments on commit e07e706

Please sign in to comment.