Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this file from the PR please?

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/bin/python3"
}
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

- name: Install Nomad
copy:
src: "{{ install_temp.path }}/nomad"
src: "{{ install_temp.path }}"
dest: "{{ nomad_bin_dir }}"
owner: "{{ nomad_user }}"
group: "{{ nomad_group }}"
Expand Down
8 changes: 7 additions & 1 deletion vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
nomad_os_packages:
- curl
- git
- libcgroup1
- unzip
- "{% if ( ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('19', '<') ) or \
( ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '<') ) \
Expand All @@ -13,3 +12,10 @@ nomad_os_packages:
{% else %}\
cgroup-tools\
{% endif %}"
- "{% if ( ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('19', '<') ) or \
( ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '<') ) \
%}\
libcgroup1\
{% else %}\
libcgroup2\
{% endif %}"