--- - name: ensure download directory file: path: /var/tmp/redise state: directory mode: 0755 - name: ensure download directory file: path: /var/tmp/redise/release state: directory mode: 0755 - name: set the answers file copy: src: redis.answers dest: /var/tmp/redise/release/redis.answers - name: Copy over the tarball copy: src: redislabs-5.2.2-22-xenial-amd64.tar.gz dest: /var/tmp/redise/redislabs-5.2.2-22-xenial-amd64.tar.gz owner: root group: root mode: 0644 - name: Unarchive the tarball unarchive: src: /var/tmp/redise/redislabs-5.2.2-22-xenial-amd64.tar.gz dest: /var/tmp/redise/release/ remote_src: True - name: Run the install script command: "/var/tmp/redise/release/install.sh -y -c /var/tmp/redise/release/redis.answers"