examples.yml 1.06 KB
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
---
- name: Install required software for elegants examples
  become: yes
  dnf:
    name: "{{ item }}"
    state: present
  with_items: "{{ preElegantExamples }}"
  when: ansible_distribution == 'Fedora'
  tags: examples

- name: install SDDSToolKit
  become: yes
  dnf:
    name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSToolKit-{{ sddstk_version }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
    state: present
  when: ansible_distribution == 'Fedora'
  tags: examples

- name: Install OAGTclTk
  become: yes
  dnf:
    name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/OAGTclTk-{{ oagtcltk_version }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
    state: present
  when: ansible_distribution == 'Fedora'
  tags: examples

- name: Install variables
  become: yes
  copy:
    src: OAGTclTk.sh
    dest: /etc/profile.d
    backup: yes
  tags: examples