I'm doing this, but as I'm the expert here (because no-one else is doing it) I have no real idea how awesome my code actually is.So the code should do the following:Export the tarball from subversion on the target boxUntar it.Run the install script, answering questions appropriately.For this review, I'd love input into whether this can be done differently, should generally follow different rules or whether it's just he best code you've ever seen.-  hosts: localhost  become: true  remote_user: root  become_user: root  become_method: su  tasks:  - name: Grab the encrypted variables    include_vars:      file: secret_things      name: secrets  - name: Grab the non-encrypted variables    include_vars:      file: mech_cfg.yml      name: mech_cfg  - name: install pip    yum:      name: python-pip      state: latest  - name: install pexpect==3.3 -- required for the expect module    pip:      name: pexpect      version: 3.3  - name: Get the tarball from subversion    subversion:      repo: https://repo/path      dest: /tmp/mechballs      username: {{ secrets.svn_user }}      password: {{ secrets.svn_pass }}      export: yes      force: yes  - name: Expand the tarball    unarchive:      src: /tmp/mechballs/{{ mech_cfg.mech_tarball }}.tar.gz      dest: /tmp/mechballs/      remote_src: true  - name: Install the tarball    expect:      chdir: /tmp/mechballs/{{ mech_cfg.mech_tarball }}      command: ./doinstall      echo: yes      responses:        Where do you want to install.*: /opt/location        Do you want to proceed with the installation .* : y
Ansible playbook to install application from tarball
linux;installer;ansible