blas.yml 856 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3 4
---
- name: "BLAS (needed by elegant)"
  become: yes
  dnf:
julian.gethmann's avatar
julian.gethmann committed
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: [python-decorator, python-slip, python-firewall]
julian.gethmann's avatar
julian.gethmann committed
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
    state: present
  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