Add rpm distbranch macros

This commit is contained in:
Андрей Лимачко 2022-04-05 22:14:55 +04:00
parent 3e9f1b6b67
commit 6ab5449205

View File

@ -38,6 +38,15 @@
dest: "/etc/apt/sources.list.d/{{item}}.list"
with_items: "{{env.apt.sources}}"
- name: set current branch in rpmmacros
lineinfile:
path: /etc/rpm/macros
regexp: "^[\t ]%_priority_distbranch[\t ]*"
line: "%_priority_distbranch {{ node.platform }}"
state: present
create: yes
backup: yes
- name: update packages list
shell: apt-get update