forked from saratov/infra
Add rpm distbranch macros
This commit is contained in:
parent
3e9f1b6b67
commit
6ab5449205
@ -38,6 +38,15 @@
|
|||||||
dest: "/etc/apt/sources.list.d/{{item}}.list"
|
dest: "/etc/apt/sources.list.d/{{item}}.list"
|
||||||
with_items: "{{env.apt.sources}}"
|
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
|
- name: update packages list
|
||||||
shell: apt-get update
|
shell: apt-get update
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user