From b15e2ecf0eeb93c8d471aafef919c974257e5a26 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 30 Mar 2017 18:51:02 -0500 Subject: [PATCH] Change Slack repo to install through install through installation of yum.repos.d file. --- etc/yum.repos.d/slack.repo | 8 ++++++ setup.yml | 57 +++++++++++++++++++++++--------------- 2 files changed, 43 insertions(+), 22 deletions(-) create mode 100644 etc/yum.repos.d/slack.repo diff --git a/etc/yum.repos.d/slack.repo b/etc/yum.repos.d/slack.repo new file mode 100644 index 0000000..ecb863f --- /dev/null +++ b/etc/yum.repos.d/slack.repo @@ -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 diff --git a/setup.yml b/setup.yml index 5eb7fa3..dbbaa82 100644 --- a/setup.yml +++ b/setup.yml @@ -1,6 +1,31 @@ - hosts: all 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 - name: RPM Fusion - Free @@ -18,11 +43,6 @@ name: 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm' 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 dnf: name: 'http://download.zfsonlinux.org/fedora/zfs-release.fc25.noarch.rpm' @@ -141,6 +161,16 @@ name: rsync state: latest + - name: Install samba + dnf: + name: samba + state: latest + + - name: Install slack + dnf: + name: slack + state: latest + - name: Install steam dnf: name: steam @@ -239,20 +269,3 @@ - name: Disable SELinux selinux: 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