1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +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 # we need to install X11 and the Xfce display manager
- name: Install xfce group of packages - name: Install Xfce group of packages
shell: "yum groupinstall -y xfce" shell: "yum groupinstall -y xfce"
when: xo_model == "none" and internet_available and ansible_distribution_version <= "20" when: xo_model == "none" and internet_available and ansible_distribution_version <= "20"
tags: tags:
@ -11,7 +11,7 @@
tags: tags:
- download - download
- name: Install xfce group of packages - name: Install Xfce group of packages
shell: yum groupinstall -y "Xfce Desktop" --exclude fedora-release\* shell: yum groupinstall -y "Xfce Desktop" --exclude fedora-release\*
when: xo_model == "none" and internet_available and ansible_distribution_version >= "21" when: xo_model == "none" and internet_available and ansible_distribution_version >= "21"
tags: tags:
@ -23,7 +23,7 @@
tags: tags:
- download - download
- name: Get the teamviewer software - name: Download TeamViewer software
get_url: get_url:
url: "{{ teamviewer_url }}/{{ teamviewer_rpm_file }}" url: "{{ teamviewer_url }}/{{ teamviewer_rpm_file }}"
dest: "{{ yum_packages_dir }}/{{ teamviewer_rpm_file }}" dest: "{{ yum_packages_dir }}/{{ teamviewer_rpm_file }}"
@ -33,16 +33,16 @@
- download - download
# F22 has issues with yum localinstall exclude for now # 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 }}" shell: "yum localinstall -y {{ yum_packages_dir }}/{{ teamviewer_rpm_file }}"
when: teamviewer_install and internet_available when: teamviewer_install and internet_available
and xo_model == "none" and ansible_distribution_version <= "21" and xo_model == "none" and ansible_distribution_version <= "21"
- name: making local copy available - name: Making local copy available
shell: createrepo {{ yum_packages_dir }} shell: createrepo {{ yum_packages_dir }}
when: teamviewer_install and xo_model == "none" and ansible_distribution_version >= "22" when: teamviewer_install and xo_model == "none" and ansible_distribution_version >= "22"
- name: using local copy - name: Using local copy
package: package:
name: "{{ item }}" name: "{{ item }}"
state: present state: present