-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels