Skip to content
Snippets Groups Projects
Commit 221e28da authored by Chris Hines's avatar Chris Hines
Browse files

fix up various incompatibilities

parent 56575ff0
No related branches found
No related tags found
No related merge requests found
#!/bin/env python
#!/usr/bin/python
import sys
import json
import socket
......
......@@ -9,7 +9,7 @@
run_once: True
- name: make hosts data
shell: source /root/.bash_profile; /tmp/makehosts.py /tmp/groups {{ domain }}
command: /tmp/makehosts.py /tmp/groups {{ domain }}
delegate_to: 127.0.0.1
run_once: True
register: hosts_data
......
......@@ -145,6 +145,7 @@
with_items:
- ppolicy
- cosine
- nis
ignore_errors: true
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version >= '7'
......
- name: remove all install
shell: rm -rf /tmp/slurm-{{ slurm_version }}
sudo: true
when: force_slurm_recompile is defined
- name: remove all install
shell: rm -rf {{ slurm_dir }}
sudo: true
when: force_slurm_recompile is defined
- name: get slurm
shell: wget https://cvl.massive.org.au/slurm-{{ slurm_version }}.tar.bz2
# shell: wget http://www.schedmd.com/download/archive/slurm-{{ slurm_version }}.tar.bz2
......
......@@ -54,8 +54,6 @@
- perl
- perl-DBI
- openssl-devel
- mysql
- mysql-devel
- gcc
- rpm-build
- wget
......@@ -83,11 +81,9 @@
- make
- perl
- libdbi-perl
- mysql-server
- mysql-client
- python-mysqldb
- libmysqlclient-dev
- lua5.2
- hwloc
- libhwloc-dev
when: ansible_os_family == "Debian"
- include: installMungeFromSource.yml
......
......@@ -11,6 +11,7 @@
sudo: true
with_items:
- mysql-server
- python-mysqldb
when: ansible_os_family == "Debian"
- name: "Start the Server"
......
......@@ -13,6 +13,7 @@
sudo: true
with_items:
- mysql-client
- libmysqlclient-dev
- python-mysqldb
when: ansible_os_family == "Debian"
......@@ -31,7 +32,3 @@
sudo: true
when: slurm_dir is not defined
- name: sanity check slurmdbd service
service: "name=slurmdbd enabled=yes state=started"
sudo: true
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