examples.yml 813 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3 4
---
- name: Install required software for elegants examples
  become: yes
  dnf:
5
    name: "{{ preElegantExamples }}"
julian.gethmann's avatar
julian.gethmann committed
6 7 8 9
    state: present
  when: ansible_distribution == 'Fedora'
  tags: examples

10
- import_tasks: sddstoolkit.yml
julian.gethmann's avatar
julian.gethmann committed
11 12 13 14

- name: Install OAGTclTk
  become: yes
  dnf:
15
    name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/OAGTclTk-{{ item.value }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
julian.gethmann's avatar
julian.gethmann committed
16
    state: present
17 18
  when: ansible_distribution == 'Fedora' and ansible_distribution_major_version|int == item.key|int
  with_dict: "{{ oagtcltk_version }}"
julian.gethmann's avatar
julian.gethmann committed
19 20 21 22 23 24 25 26 27
  tags: examples

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