From e7e25369c789050ba7b48aa22ff0c1b998cdb5d2 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 23 Jan 2017 19:17:41 -0600 Subject: [PATCH] Initial commit --- .gitignore | 1 + setup.yml | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sudoers | 8 ++++ vimrc | 0 4 files changed, 147 insertions(+) create mode 100644 .gitignore create mode 100644 setup.yml create mode 100644 sudoers create mode 100644 vimrc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..167e335 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +setup.retry diff --git a/setup.yml b/setup.yml new file mode 100644 index 0000000..0d8c5d8 --- /dev/null +++ b/setup.yml @@ -0,0 +1,138 @@ +- hosts: all + tasks: + + # setup yum repos + - name: RPM Fusion - Free + dnf: + name: 'https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noarch.rpm' + state: present + - name: RPM Fusion - Non-free + dnf: + name: 'https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-25.noarch.rpm' + state: present + - name: Google Chrome Repository + dnf: + name: 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm' + state: present + + + # install packages + + - name: Install Ansible + dnf: + name: ansible + state: latest + + - name: Install CTags + dnf: + name: ctags + state: latest + + - name: Install Docker + dnf: + name: docker + state: latest + + - 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 + + - name: Install libselinux-python + dnf: + name: libselinux-python + state: latest + + - 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 + + - name: Install tmux + dnf: + name: tmux + state: latest + + - name: Install Vim + dnf: + name: vim-X11 + state: latest + + - name: Install ZSH + dnf: + name: zsh + state: latest + + + # setup users and groups + - name: Docker Group + group: + name: docker + state: present + - name: Add gary to docker + user: + name: gary + groups: docker + append: true + + # disable SELinux + - name: Disable SELinux + selinux: + state: disabled + + + # setup config files + + - name: Clear /etc/vimrc + copy: + src: vimrc + dest: /etc/vimrc + mode: 0644 + force: yes + + - name: Install /etc/sudoers + copy: + src: sudoers + dest: /etc/sudoers + mode: 0644 + force: yes diff --git a/sudoers b/sudoers new file mode 100644 index 0000000..d5cc9dc --- /dev/null +++ b/sudoers @@ -0,0 +1,8 @@ +## +## User privilege specification +## +root ALL=(ALL) ALL +%wheel ALL=(ALL) ALL + +# Long timeout +Defaults env_reset,timestamp_timeout=9999999999 diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..e69de29