Merge branch 'master' of ssh://git.drinkingtea.net:10022/gary/ansible-fedora-workstation
This commit is contained in:
commit
3080c40299
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
|
||||||
|
3
notes.txt
Normal file
3
notes.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:swapescape']"
|
||||||
|
gsettings set org.gnome.shell enabled-extensions "['alternate-tab@gnome-shell-extensions.gcampax.github.com']"
|
||||||
|
gsettings set org.gnome.desktop.interface clock-show-date true
|
32
setup.yml
32
setup.yml
@ -157,6 +157,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
|
||||||
@ -178,7 +183,12 @@
|
|||||||
name: unixODBC-devel
|
name: unixODBC-devel
|
||||||
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
|
||||||
@ -246,6 +256,22 @@
|
|||||||
append: true
|
append: true
|
||||||
|
|
||||||
|
|
||||||
|
# services
|
||||||
|
|
||||||
|
- name: Enable SSH Daemon
|
||||||
|
service:
|
||||||
|
name: sshd
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
|
||||||
|
|
||||||
|
- name: Enable Docker Daemon
|
||||||
|
service:
|
||||||
|
name: docker
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
|
||||||
|
|
||||||
# disable SELinux
|
# disable SELinux
|
||||||
|
|
||||||
- name: Disable SELinux
|
- name: Disable SELinux
|
||||||
@ -257,14 +283,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
|
||||||
|
Reference in New Issue
Block a user