mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
Added role native-git
This commit is contained in:
parent
8b4990bd24
commit
f098ad312e
@ -1,7 +1,7 @@
|
||||
# Client Playbook
|
||||
Playbook to setup Manjaro GNOME clients.
|
||||
# Todo
|
||||
- Add Template folder
|
||||
- add printer
|
||||
# See
|
||||
- https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/
|
||||
- https://stackoverflow.com/questions/30533372/run-an-ansible-task-only-when-the-hostname-contains-a-string
|
||||
|
@ -2,8 +2,9 @@
|
||||
hosts: all
|
||||
become: true
|
||||
roles:
|
||||
- pacman-update
|
||||
- general
|
||||
- native-pacman-update
|
||||
- native-general
|
||||
- native-administrator
|
||||
- name: setup gaming hosts
|
||||
hosts: gaming_hosts
|
||||
become: true
|
||||
|
@ -1,51 +0,0 @@
|
||||
- name: install general software
|
||||
community.general.pacman:
|
||||
name:
|
||||
# programing language interpreters
|
||||
- jdk11-openjdk
|
||||
- python
|
||||
- php
|
||||
|
||||
# description language interpreters
|
||||
- texlive-most
|
||||
|
||||
# compression tools
|
||||
- p7zip
|
||||
|
||||
# administration tools
|
||||
- base-devel
|
||||
- yay
|
||||
- make
|
||||
- gcc
|
||||
- cmake
|
||||
- fdupes
|
||||
|
||||
# network analyze tools
|
||||
- traceroute
|
||||
- wireshark-qt
|
||||
- wireshark-cli
|
||||
|
||||
# security tools
|
||||
- ecryptfs-utils
|
||||
- encfs
|
||||
- keepassxc
|
||||
|
||||
# browsers
|
||||
- chromium
|
||||
|
||||
# video/picture manipulation
|
||||
- gimp
|
||||
- blender
|
||||
- obs-studio
|
||||
|
||||
# code quality tools
|
||||
- shellcheck
|
||||
|
||||
# ide's
|
||||
- atom
|
||||
- arduino
|
||||
- arduino-docs
|
||||
|
||||
# virtualization tools
|
||||
- qemu
|
||||
state: present
|
2
roles/native-administrator/meta/main.yml
Normal file
2
roles/native-administrator/meta/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- native-git
|
10
roles/native-administrator/tasks/main.yml
Normal file
10
roles/native-administrator/tasks/main.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- name: install administration tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- base-devel
|
||||
- yay
|
||||
- make
|
||||
- gcc
|
||||
- cmake
|
||||
- fdupes
|
||||
state: present
|
43
roles/native-general/tasks/main.yml
Normal file
43
roles/native-general/tasks/main.yml
Normal file
@ -0,0 +1,43 @@
|
||||
- name: install general software
|
||||
community.general.pacman:
|
||||
name:
|
||||
# programing language interpreters
|
||||
#- jdk11-openjdk
|
||||
#- python
|
||||
#- php
|
||||
|
||||
# description language interpreters
|
||||
#- texlive-most
|
||||
|
||||
# compression tools
|
||||
#- p7zip
|
||||
|
||||
# network analyze tools
|
||||
#- traceroute
|
||||
#- wireshark-qt
|
||||
#- wireshark-cli
|
||||
|
||||
# security tools
|
||||
#- ecryptfs-utils
|
||||
#- encfs
|
||||
#- keepassxc
|
||||
|
||||
# browsers
|
||||
- chromium
|
||||
|
||||
# video/picture manipulation
|
||||
#- gimp
|
||||
#- blender
|
||||
#- obs-studio
|
||||
|
||||
# code quality tools
|
||||
#- shellcheck
|
||||
|
||||
# ide's
|
||||
#- atom
|
||||
#- arduino
|
||||
#- arduino-docs
|
||||
|
||||
# virtualization tools
|
||||
#- qemu
|
||||
state: present
|
8
roles/native-git/tasks/mail.yml
Normal file
8
roles/native-git/tasks/mail.yml
Normal file
@ -0,0 +1,8 @@
|
||||
- name: Set git user email to {{user_email}}
|
||||
ansible.builtin.shell: git config --global user.email "{{user_email}}"
|
||||
- name: Set git user name to {{user_full_name}}
|
||||
ansible.builtin.shell: - git config --global user.name "{{user_full_name}}"
|
||||
- name: install git
|
||||
community.general.pacman:
|
||||
name: git
|
||||
state: present
|
Loading…
Reference in New Issue
Block a user