--- /dev/null
+---
+- name: unpack binary tarball
+ unarchive:
+ src: "{{ binary_tarball }}"
+ dest: "{{ tarball_install_prefix | realpath | dirname }}"
+ remote_src: True
+ creates: "{{ tarball_install_prefix }}"
+
+- name: setup path
+ template:
+ src: etc-profile.j2
+ dest: /etc/profile.d/autocluster_samba.sh
+
+- name: install directory
+ file:
+ path: "{{ install_dir }}"
+ state: directory
+
+# Yes, this is complete overkill because it installs development
+# packages. However, it is a zero-effort method of ensuring that all
+# run-time dependencies are installed...
+- name: run Samba bootstrap script
+ shell: >
+ {{ bootstrap_installed | quote }} >{{ install_bootstrap_log }} 2>&1 && \
+ touch {{ install_bootstrap_ok }}
+ args:
+ creates: "{{ install_bootstrap_ok }}"