Add pandoc and sudo, and add password prompt init call to Makefile
This commit is contained in:
parent
3c5d546851
commit
f7fc7f1c52
2
Makefile
2
Makefile
@ -1,2 +1,4 @@
|
|||||||
apply:
|
apply:
|
||||||
ansible-playbook setup.yml -u root -i "127.0.0.1,"
|
ansible-playbook setup.yml -u root -i "127.0.0.1,"
|
||||||
|
init:
|
||||||
|
ansible-playbook setup.yml -u root -i "127.0.0.1," -k
|
||||||
|
37
setup.yml
37
setup.yml
@ -111,6 +111,16 @@
|
|||||||
name: npm
|
name: npm
|
||||||
state: latest
|
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
|
- name: Install Qt 5 Devel
|
||||||
dnf:
|
dnf:
|
||||||
name: qt5-devel
|
name: qt5-devel
|
||||||
@ -136,6 +146,11 @@
|
|||||||
name: steam
|
name: steam
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
- name: Install sudo
|
||||||
|
dnf:
|
||||||
|
name: sudo
|
||||||
|
state: latest
|
||||||
|
|
||||||
- name: Install tig
|
- name: Install tig
|
||||||
dnf:
|
dnf:
|
||||||
name: tig
|
name: tig
|
||||||
@ -151,7 +166,12 @@
|
|||||||
name: tmux
|
name: tmux
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Install Vim
|
- name: Install vim-enhanced
|
||||||
|
dnf:
|
||||||
|
name: vim-enhanced
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: Install vim-X11
|
||||||
dnf:
|
dnf:
|
||||||
name: vim-X11
|
name: vim-X11
|
||||||
state: latest
|
state: latest
|
||||||
@ -187,6 +207,17 @@
|
|||||||
append: true
|
append: true
|
||||||
|
|
||||||
|
|
||||||
|
- name: libvirt Group
|
||||||
|
group:
|
||||||
|
name: libvirt
|
||||||
|
state: present
|
||||||
|
- name: Add gary to libvirt
|
||||||
|
user:
|
||||||
|
name: gary
|
||||||
|
groups: libvirt
|
||||||
|
append: true
|
||||||
|
|
||||||
|
|
||||||
# disable SELinux
|
# disable SELinux
|
||||||
|
|
||||||
- name: Disable SELinux
|
- name: Disable SELinux
|
||||||
@ -198,14 +229,14 @@
|
|||||||
|
|
||||||
- name: Clear /etc/vimrc
|
- name: Clear /etc/vimrc
|
||||||
copy:
|
copy:
|
||||||
src: vimrc
|
src: etc/vimrc
|
||||||
dest: /etc/vimrc
|
dest: /etc/vimrc
|
||||||
mode: 0644
|
mode: 0644
|
||||||
force: yes
|
force: yes
|
||||||
|
|
||||||
- name: Install /etc/sudoers
|
- name: Install /etc/sudoers
|
||||||
copy:
|
copy:
|
||||||
src: sudoers
|
src: etc/sudoers
|
||||||
dest: /etc/sudoers
|
dest: /etc/sudoers
|
||||||
mode: 0644
|
mode: 0644
|
||||||
force: yes
|
force: yes
|
||||||
|
8
sudoers
8
sudoers
@ -1,8 +0,0 @@
|
|||||||
##
|
|
||||||
## User privilege specification
|
|
||||||
##
|
|
||||||
root ALL=(ALL) ALL
|
|
||||||
%wheel ALL=(ALL) ALL
|
|
||||||
|
|
||||||
# Long timeout
|
|
||||||
Defaults env_reset,timestamp_timeout=9999999999
|
|
Reference in New Issue
Block a user