- name: ensure rsync is installed package: name=rsync state=present tags: - install - name: ensure wheel storage directory exists file: path=/var/lib/wheels owner=root group=root mode=0775 state=directory - name: ensure jenkins can write to the wheel storage directory acl: path: /var/lib/wheels etype: user entity: jenkins permissions: rwx default: '{{ item == "default" }}' state: present with_items: - default - current - name: ensure apache is configured to serve wheel directory copy: src=wheels.httpd.conf dest=/etc/httpd/conf.d/wheels.conf mode=0644 notify: - reload httpd