2017-01-23 19:17:41 -06:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
# setup yum repos
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: RPM Fusion - Free
|
|
|
|
dnf:
|
|
|
|
name: 'https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noarch.rpm'
|
|
|
|
state: present
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: RPM Fusion - Non-free
|
|
|
|
dnf:
|
|
|
|
name: 'https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-25.noarch.rpm'
|
|
|
|
state: present
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Google Chrome Repository
|
|
|
|
dnf:
|
|
|
|
name: 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm'
|
|
|
|
state: present
|
|
|
|
|
2017-01-24 01:18:29 -06:00
|
|
|
- name: Slack
|
2017-01-24 00:53:45 -06:00
|
|
|
dnf:
|
|
|
|
name: 'https://downloads.slack-edge.com/linux_releases/slack-2.4.2-0.1.fc21.x86_64.rpm'
|
|
|
|
state: present
|
|
|
|
|
2017-01-24 01:18:29 -06:00
|
|
|
- name: ZFS
|
|
|
|
dnf:
|
|
|
|
name: 'http://download.zfsonlinux.org/fedora/zfs-release.fc25.noarch.rpm'
|
|
|
|
state: present
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
|
|
|
|
# install packages
|
|
|
|
|
|
|
|
- name: Install Ansible
|
|
|
|
dnf:
|
|
|
|
name: ansible
|
|
|
|
state: latest
|
|
|
|
|
2017-01-27 19:55:34 -06:00
|
|
|
- name: Install cargo
|
|
|
|
dnf:
|
|
|
|
name: cargo
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install clang
|
|
|
|
dnf:
|
|
|
|
name: clang
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install CTags
|
|
|
|
dnf:
|
|
|
|
name: ctags
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install Docker
|
|
|
|
dnf:
|
|
|
|
name: docker
|
|
|
|
state: latest
|
|
|
|
|
2017-01-24 00:53:45 -06:00
|
|
|
- name: Install Docker Compose
|
|
|
|
dnf:
|
|
|
|
name: docker-compose
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install Dropbox
|
|
|
|
dnf:
|
|
|
|
name: nautilus-dropbox
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install Git
|
|
|
|
dnf:
|
|
|
|
name: git
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install gnome-tweak-tool
|
|
|
|
dnf:
|
|
|
|
name: gnome-tweak-tool
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install Go
|
|
|
|
dnf:
|
|
|
|
name: golang
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install Google Chrome
|
|
|
|
dnf:
|
|
|
|
name: google-chrome
|
|
|
|
state: latest
|
|
|
|
|
2017-01-29 09:13:25 -06:00
|
|
|
- name: Install Java
|
|
|
|
dnf:
|
|
|
|
name: java-1.8.0-openjdk
|
|
|
|
state: latest
|
|
|
|
|
2017-01-27 19:55:34 -06:00
|
|
|
- name: Install jq
|
|
|
|
dnf:
|
|
|
|
name: jq
|
|
|
|
state: latest
|
|
|
|
|
2017-01-24 01:18:29 -06:00
|
|
|
- name: Install kernel-devel
|
|
|
|
dnf:
|
|
|
|
name: kernel-devel
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install libselinux-python
|
|
|
|
dnf:
|
|
|
|
name: libselinux-python
|
|
|
|
state: latest
|
|
|
|
|
2017-01-29 09:03:27 -06:00
|
|
|
- name: Install npm
|
|
|
|
dnf:
|
|
|
|
name: npm
|
|
|
|
state: latest
|
|
|
|
|
2017-02-26 16:29:37 -06:00
|
|
|
- name: Install pandoc
|
|
|
|
dnf:
|
|
|
|
name: pandoc
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install python-netaddr
|
|
|
|
dnf:
|
|
|
|
name: python-netaddr
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install Qt 5 Devel
|
|
|
|
dnf:
|
|
|
|
name: qt5-devel
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install redshift-gtk
|
|
|
|
dnf:
|
|
|
|
name: redshift-gtk
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install qtcreator
|
|
|
|
dnf:
|
|
|
|
name: qtcreator
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install rsync
|
|
|
|
dnf:
|
|
|
|
name: rsync
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install steam
|
|
|
|
dnf:
|
|
|
|
name: steam
|
|
|
|
state: latest
|
|
|
|
|
2017-02-26 16:29:37 -06:00
|
|
|
- name: Install sudo
|
|
|
|
dnf:
|
|
|
|
name: sudo
|
|
|
|
state: latest
|
|
|
|
|
2017-01-24 00:53:45 -06:00
|
|
|
- name: Install tig
|
|
|
|
dnf:
|
|
|
|
name: tig
|
|
|
|
state: latest
|
|
|
|
|
2017-01-29 09:03:27 -06:00
|
|
|
- name: Install tarsnap
|
|
|
|
dnf:
|
|
|
|
name: tarsnap
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install tmux
|
|
|
|
dnf:
|
|
|
|
name: tmux
|
|
|
|
state: latest
|
|
|
|
|
2017-02-26 16:29:37 -06:00
|
|
|
- name: Install vim-enhanced
|
|
|
|
dnf:
|
|
|
|
name: vim-enhanced
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install vim-X11
|
2017-01-23 19:17:41 -06:00
|
|
|
dnf:
|
|
|
|
name: vim-X11
|
|
|
|
state: latest
|
|
|
|
|
2017-01-24 01:18:29 -06:00
|
|
|
- name: Install ZFS
|
|
|
|
dnf:
|
|
|
|
name: zfs
|
|
|
|
state: latest
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Install ZSH
|
|
|
|
dnf:
|
|
|
|
name: zsh
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
|
2017-01-29 09:03:27 -06:00
|
|
|
# pip packages
|
|
|
|
|
|
|
|
- name: yq - YAML Query
|
|
|
|
pip:
|
|
|
|
name: yq
|
|
|
|
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
# setup users and groups
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Docker Group
|
|
|
|
group:
|
|
|
|
name: docker
|
|
|
|
state: present
|
|
|
|
- name: Add gary to docker
|
|
|
|
user:
|
|
|
|
name: gary
|
|
|
|
groups: docker
|
|
|
|
append: true
|
|
|
|
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-02-26 16:29:37 -06:00
|
|
|
- name: libvirt Group
|
|
|
|
group:
|
|
|
|
name: libvirt
|
|
|
|
state: present
|
|
|
|
- name: Add gary to libvirt
|
|
|
|
user:
|
|
|
|
name: gary
|
|
|
|
groups: libvirt
|
|
|
|
append: true
|
|
|
|
|
|
|
|
|
2017-03-05 17:16:06 -06:00
|
|
|
# services
|
|
|
|
|
|
|
|
- name: Enable SSH Daemon
|
|
|
|
service:
|
|
|
|
name: sshd
|
|
|
|
enabled: yes
|
|
|
|
state: started
|
|
|
|
|
|
|
|
|
|
|
|
- name: Enable Docker Daemon
|
|
|
|
service:
|
|
|
|
name: docker
|
|
|
|
enabled: yes
|
|
|
|
state: started
|
|
|
|
|
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
# disable SELinux
|
2017-01-24 00:53:45 -06:00
|
|
|
|
2017-01-23 19:17:41 -06:00
|
|
|
- name: Disable SELinux
|
|
|
|
selinux:
|
|
|
|
state: disabled
|
|
|
|
|
|
|
|
|
|
|
|
# setup config files
|
|
|
|
|
|
|
|
- name: Clear /etc/vimrc
|
|
|
|
copy:
|
2017-02-26 16:29:37 -06:00
|
|
|
src: etc/vimrc
|
2017-01-23 19:17:41 -06:00
|
|
|
dest: /etc/vimrc
|
|
|
|
mode: 0644
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: Install /etc/sudoers
|
|
|
|
copy:
|
2017-02-26 16:29:37 -06:00
|
|
|
src: etc/sudoers
|
2017-01-23 19:17:41 -06:00
|
|
|
dest: /etc/sudoers
|
|
|
|
mode: 0644
|
|
|
|
force: yes
|