From f7fc7f1c52e8daa911179ae77c7bb9bb68b3cf73 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 26 Feb 2017 16:29:37 -0600 Subject: [PATCH] Add pandoc and sudo, and add password prompt init call to Makefile --- Makefile | 2 ++ setup.yml | 37 ++++++++++++++++++++++++++++++++++--- sudoers | 8 -------- vimrc | 0 4 files changed, 36 insertions(+), 11 deletions(-) delete mode 100644 sudoers delete mode 100644 vimrc diff --git a/Makefile b/Makefile index bde0162..05c44b9 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,4 @@ apply: ansible-playbook setup.yml -u root -i "127.0.0.1," +init: + ansible-playbook setup.yml -u root -i "127.0.0.1," -k diff --git a/setup.yml b/setup.yml index 4fc57ba..8e9ef0a 100644 --- a/setup.yml +++ b/setup.yml @@ -111,6 +111,16 @@ name: npm state: latest + - name: Install pandoc + dnf: + name: pandoc + state: latest + + - name: Install python-netaddr + dnf: + name: python-netaddr + state: latest + - name: Install Qt 5 Devel dnf: name: qt5-devel @@ -136,6 +146,11 @@ name: steam state: latest + - name: Install sudo + dnf: + name: sudo + state: latest + - name: Install tig dnf: name: tig @@ -151,7 +166,12 @@ name: tmux state: latest - - name: Install Vim + - name: Install vim-enhanced + dnf: + name: vim-enhanced + state: latest + + - name: Install vim-X11 dnf: name: vim-X11 state: latest @@ -187,6 +207,17 @@ append: true + - name: libvirt Group + group: + name: libvirt + state: present + - name: Add gary to libvirt + user: + name: gary + groups: libvirt + append: true + + # disable SELinux - name: Disable SELinux @@ -198,14 +229,14 @@ - name: Clear /etc/vimrc copy: - src: vimrc + src: etc/vimrc dest: /etc/vimrc mode: 0644 force: yes - name: Install /etc/sudoers copy: - src: sudoers + src: etc/sudoers dest: /etc/sudoers mode: 0644 force: yes diff --git a/sudoers b/sudoers deleted file mode 100644 index d5cc9dc..0000000 --- a/sudoers +++ /dev/null @@ -1,8 +0,0 @@ -## -## 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 deleted file mode 100644 index e69de29..0000000