Change Slack repo to install through install through installation of

yum.repos.d file.
This commit is contained in:
Gary Talent 2017-03-30 18:51:02 -05:00
parent 073b327587
commit b15e2ecf0e
2 changed files with 43 additions and 22 deletions

View File

@ -0,0 +1,8 @@
[slack]
name=slack
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/x86_64
enabled=1
gpgcheck=0
gpgkey=https://packagecloud.io/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

View File

@ -1,6 +1,31 @@
- hosts: all - hosts: all
tasks: tasks:
# setup config files
- name: Clear /etc/vimrc
copy:
src: etc/vimrc
dest: /etc/vimrc
mode: 0644
force: yes
- name: Install /etc/sudoers
copy:
src: etc/sudoers
dest: /etc/sudoers
mode: 0644
force: yes
- name: Install /etc/yum.repos.d
copy:
src: etc/yum.repos.d/slack.repo
dest: /etc/yum.repos.d/slack.repo
mode: 0644
force: yes
# setup yum repos # setup yum repos
- name: RPM Fusion - Free - name: RPM Fusion - Free
@ -18,11 +43,6 @@
name: 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm' name: 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm'
state: present state: present
- name: Slack
dnf:
name: 'https://downloads.slack-edge.com/linux_releases/slack-2.4.2-0.1.fc21.x86_64.rpm'
state: present
- name: ZFS - name: ZFS
dnf: dnf:
name: 'http://download.zfsonlinux.org/fedora/zfs-release.fc25.noarch.rpm' name: 'http://download.zfsonlinux.org/fedora/zfs-release.fc25.noarch.rpm'
@ -141,6 +161,16 @@
name: rsync name: rsync
state: latest state: latest
- name: Install samba
dnf:
name: samba
state: latest
- name: Install slack
dnf:
name: slack
state: latest
- name: Install steam - name: Install steam
dnf: dnf:
name: steam name: steam
@ -239,20 +269,3 @@
- name: Disable SELinux - name: Disable SELinux
selinux: selinux:
state: disabled state: disabled
# setup config files
- name: Clear /etc/vimrc
copy:
src: etc/vimrc
dest: /etc/vimrc
mode: 0644
force: yes
- name: Install /etc/sudoers
copy:
src: etc/sudoers
dest: /etc/sudoers
mode: 0644
force: yes