blas.yml 1.12 KB
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3 4
---
- name: "BLAS (needed by elegant)"
  become: yes
  dnf:
5
    name: "{{ prePelegant }}"
julian.gethmann's avatar
julian.gethmann committed
6 7 8 9 10 11
    state: present
  tags: pelegant

- name: ansible dependencies for firewalld
  become: yes
  dnf:
julian.gethmann's avatar
julian.gethmann committed
12
    name: ["python3-decorator", "python3-slip", "python3-firewall"]
julian.gethmann's avatar
julian.gethmann committed
13 14 15 16 17 18 19 20
    state: present
  tags: pelegant

- name: Pelegant open ports
  become: yes
  firewalld:
    state: enabled
    permanent: true
21
    rich_rule: 'rule family="ipv4" source address="129.13.238.64/24" port port="10000-10100" protocol="tcp" accept'
julian.gethmann's avatar
julian.gethmann committed
22 23 24 25 26
  notify:
  - reload firewall
  - restart firewall
  tags: pelegant

27 28 29
- name: Pelegant open ports
  become: yes
  firewalld:
30
    state: disabled
31
    permanent: true
32
    rich_rule: 'rule family="ipv4" source address="129.13.108.64/24" port port="10000-10100" protocol="tcp" accept'
33 34 35 36 37
  notify:
  - reload firewall
  - restart firewall
  tags: pelegant

julian.gethmann's avatar
julian.gethmann committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51
- 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:
julian.gethmann's avatar
julian.gethmann committed
52
    name: ["fuse-sshfs"]
julian.gethmann's avatar
julian.gethmann committed
53 54
    state: present
  tags: pelegant