Skip to content
Snippets Groups Projects
Commit f54287d6 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

less changed and package deprecation fix

Former-commit-id: 409a6901
parent 0377e5de
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
- { role: move_homedir, tags: [ authentication, filesystems ] }
- { role: nfs-client, nfsMounts: "{{ computeNfsMounts }}", tags: [ filesystems ] }
- { role: slurm-common, tags: [ slurm, slurm-common ] }
- { role: lmod, tags: [ other ] }
#- { role: lmod, tags: [ other ] } # actually preffered on ubuntu but mutually exclusive with environment-modules
- { role: enable_modules, default_modules: "modulecmd", tags: [ other ] }
- { role: postfix, tags: [ mail, other ] }
- { role: set_semaphore_count, tags: [ semaphore ] }
......
......@@ -35,7 +35,7 @@
- { role: slurm-common, tags: [ slurm, slurm-common ] }
- { role: slurm_config, tags: [ slurm, slurm-config ] }
- { role: slurm-start, start_slurmdbd: True, start_slurmctld: True, tags: [ slurm-start ] }
- { role: telegraf, tags: [ monitoring,SiteSpecific ] }
- { role: telegraf, tags: [ monitoring, SiteSpecific ] }
# - { role: provision_slurm, use_active_directory: False, lockpath: "/mnt/home", tags: [ slurm ] }
# - { role: provision_homedir, use_active_directory: False, mntpt: "/mnt/home", tags: [ provisioning ] }
......@@ -7,8 +7,6 @@
register: sysctl_hostname
check_mode: no
changed_when: False
become: true
become_user: root
- name: set hostname by sysctl
shell: sysctl kernel.hostname="{{ inventory_hostname }}"
......
......@@ -2,15 +2,16 @@
- include_vars: "{{ ansible_os_family }}.yml"
- name: install lua centos
yum: name={{ item }} state=present update_cache=yes
with_items:
- lua
- lua-filesystem
- lua-posix
- tcl
- rsync
- gcc
- lua-devel
package:
state: present
name:
- lua
- lua-filesystem
- lua-posix
- tcl
- rsync
- gcc
- lua-devel
become: true
when: ansible_os_family == 'RedHat'
......@@ -30,7 +31,9 @@
become: true
- name: install lua debian
apt: name=lmod state=present
package:
name: lmod
state: present
become: true
when: ansible_os_family == 'Debian'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment