From 4f315f63f989a13190cfdad07ee57bdc2ecac8a6 Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Tue, 15 Oct 2024 11:31:32 +0200 Subject: [PATCH] lint: playbook and role agisoft --- playbooks/agisoft.yml | 2 +- playbooks/roles/agisoft/tasks/main.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/playbooks/agisoft.yml b/playbooks/agisoft.yml index d09a0e36..ecd070ba 100644 --- a/playbooks/agisoft.yml +++ b/playbooks/agisoft.yml @@ -4,6 +4,6 @@ gather_facts: true roles: - role: agisoft - vars: + vars: license: "{{ content | replace('\\n', '\n') }}" ... diff --git a/playbooks/roles/agisoft/tasks/main.yml b/playbooks/roles/agisoft/tasks/main.yml index da3b10af..02136dfb 100644 --- a/playbooks/roles/agisoft/tasks/main.yml +++ b/playbooks/roles/agisoft/tasks/main.yml @@ -1,4 +1,5 @@ -# Following the instructions on https://docs.anaconda.com/anaconda/install/linux/ and https://docs.anaconda.com/anaconda/install/multi-user/, gathered in June 2022. +# Following the instructions on https://docs.anaconda.com/anaconda/install/linux/ and https://docs.anaconda.com/anaconda/install/multi-user/ +# gathered in June 2022. --- # - name: Install dependencies ## ANY dependencies to install??? @@ -15,18 +16,18 @@ get_url: url: "{{ agisoft_url }}" dest: "{{ agisoft_download_dest }}" - mode: 0774 + mode: "0774" - name: Extract agisoft to opt for multiple user unarchive: remote_src: true src: "{{ agisoft_download_dest }}/{{ agisoft_file }}" dest: "/opt" - mode: 0755 + mode: "0755" - name: Create license file copy: - dest: "{{ agisoft_install_dir }}/license.lic" + dest: "{{ agisoft_install_dir }}/license.lic" content: "{{ license }}" - name: Install desktop file menu item through role