1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update install.yml

This commit is contained in:
A Holt 2017-12-08 01:37:27 -05:00 committed by GitHub
parent ef48d49b88
commit e5244caa61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,30 +1,33 @@
# 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:
- download - download
- name: Install X11 group of packages - name: Install X11 group of packages
shell: "yum groupinstall -y 'X Window system'" shell: "yum groupinstall -y 'X Window system'"
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:
- 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:
- download - download
- name: Install X Windows on CentOS - name: Install X Windows on CentOS
shell: yum groupinstall -y "Server with GUI" shell: yum groupinstall -y "Server with GUI"
when: internet_available and ansible_distribution == "CentOS" when: internet_available and ansible_distribution == "CentOS"
tags: tags:
- download - download
- name: Get the teamviewer software - name: Get the teamviewer software
get_url: url="{{ teamviewer_url }}/{{ teamviewer_rpm_file }}" dest="{{ yum_packages_dir }}/{{ teamviewer_rpm_file }}" get_url:
url: "{{ teamviewer_url }}/{{ teamviewer_rpm_file }}"
dest: "{{ yum_packages_dir }}/{{ teamviewer_rpm_file }}"
timeout: "{{ download_timeout }}"
when: internet_available when: internet_available
tags: tags:
- download - download
@ -40,8 +43,9 @@
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: name={{ item }} package:
state=present name: "{{ item }}"
state: present
with_items: with_items:
- teamviewer* - teamviewer*
when: teamviewer_install and xo_model == "none" and ansible_distribution_version >= "22" when: teamviewer_install and xo_model == "none" and ansible_distribution_version >= "22"