blas.yml 918 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- name: "BLAS (needed by elegant)"
  become: yes
  dnf:
    name: "{{ item }}"
    state: present
  with_items: "{{ prePelegant }}"
  tags: pelegant

- name: ansible dependencies for firewalld
  become: yes
  dnf:
    name: "{{ item }}"
    state: present
  with_items:
  - python-decorator
  - python-slip
  - python-firewall
  tags: pelegant

- name: Pelegant open ports
  become: yes
  firewalld:
    state: enabled
    permanent: true
    rich_rule: 'rule family="ipv4" source address="129.13.108.96/27" port port="10000-10100" protocol="tcp" accept'
  notify:
  - reload firewall
  - restart firewall
  tags: pelegant

- name: export variable
  become: yes
  copy:
    src: mpich.sh
    dest: /etc/profile.d/pelegant.sh
    group: root
    owner: root
    backup: yes
  notify: run profiled
  tags: pelegant

- name: install sshfs
  become: yes
  dnf:
    name: fuse-sshfs
    state: present
  tags: pelegant