summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/build/tasks/redhat/packaging_setup.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/node/roles/build/tasks/redhat/packaging_setup.yml')
-rw-r--r--ansible/node/roles/build/tasks/redhat/packaging_setup.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/node/roles/build/tasks/redhat/packaging_setup.yml b/ansible/node/roles/build/tasks/redhat/packaging_setup.yml
new file mode 100644
index 0000000..7415960
--- /dev/null
+++ b/ansible/node/roles/build/tasks/redhat/packaging_setup.yml
@@ -0,0 +1,8 @@
+---
+- name: Setup the RPM directory tree
+ command: rpmdev-setuptree
+
+- name: Remove .rpmmacros
+ file:
+ path: /root/.rpmmacros
+ state: absent