Skip to content

Ansible-pull support #56

@eoli3n

Description

@eoli3n

We use ansible-pull on our agents. The tasks "Installing ThinLinc packages" use unarchive module.
Unarchive module defaultly assumes that the archive file is on the controller, but as ansible-pull runs ansible directly from clients, I provide that file directly with NFS on all hosts.
I needed to add remote_src: yes, which let me use ansible-pull and ansible "push" in the same way.
And to configure thinlinc_bundle_path with the full path from clients view.

thinlinc_bundle_path: "/srv/nfs/installers/tl-{{ thinlinc_version }}-server.zip"
- name: Installing ThinLinc packages
  block:
    - name: Unpacking ThinLinc server bundle
      unarchive:
        src: "{{ thinlinc_bundle_path }}"
        dest: /root
        creates: "/root/tl-{{ thinlinc_version }}-server"
        remote_src: yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions