--- - name: Setup the RPM directory tree command: rpmdev-setuptree - name: Remove .rpmmacros file: path: /root/.rpmmacros state: absent