1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Update install.yml

This commit is contained in:
A Holt 2017-12-08 01:47:49 -05:00 committed by GitHub
parent 36c273d1c6
commit adf3f5701e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# we need to install X11 and the xfce display manager
- name: Install xfce group of packages
# we need to install X11 and the Xfce display manager
- name: Install Xfce group of packages
shell: "yum groupinstall -y xfce"
when: xo_model == "none" and internet_available and ansible_distribution_version <= "20"
tags:
@ -11,7 +11,7 @@
tags:
- download
- name: Install xfce group of packages
- name: Install Xfce group of packages
shell: yum groupinstall -y "Xfce Desktop" --exclude fedora-release\*
when: xo_model == "none" and internet_available and ansible_distribution_version >= "21"
tags:
@ -23,7 +23,7 @@
tags:
- download
- name: Get the teamviewer software
- name: Download TeamViewer software
get_url:
url: "{{ teamviewer_url }}/{{ teamviewer_rpm_file }}"
dest: "{{ yum_packages_dir }}/{{ teamviewer_rpm_file }}"
@ -33,16 +33,16 @@
- download
# F22 has issues with yum localinstall exclude for now
- name: Do the install of teamviewer, pulling in any required dependencies
- name: Do the install of TeamViewer, pulling in any required dependencies
shell: "yum localinstall -y {{ yum_packages_dir }}/{{ teamviewer_rpm_file }}"
when: teamviewer_install and internet_available
and xo_model == "none" and ansible_distribution_version <= "21"
- name: making local copy available
- name: Making local copy available
shell: createrepo {{ yum_packages_dir }}
when: teamviewer_install and xo_model == "none" and ansible_distribution_version >= "22"
- name: using local copy
- name: Using local copy
package:
name: "{{ item }}"
state: present