Skip to content

Commit

Permalink
lint: playbook and role agisoft
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Oct 17, 2024
1 parent fcfb2cc commit 4f315f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playbooks/agisoft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
gather_facts: true
roles:
- role: agisoft
vars:
vars:
license: "{{ content | replace('\\n', '\n') }}"
...
9 changes: 5 additions & 4 deletions playbooks/roles/agisoft/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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???
Expand All @@ -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
Expand Down

0 comments on commit 4f315f6

Please sign in to comment.