Added role native-git

This commit is contained in:
Kevin Veen-Birkenbach 2022-08-18 07:16:21 +02:00
parent b3642ab975
commit c9fed8185d
8 changed files with 67 additions and 54 deletions

View File

@ -1,7 +1,7 @@
# Client Playbook # Client Playbook
Playbook to setup Manjaro GNOME clients. Playbook to setup Manjaro GNOME clients.
# Todo # Todo
- Add Template folder - add printer
# See # See
- https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/ - 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 - https://stackoverflow.com/questions/30533372/run-an-ansible-task-only-when-the-hostname-contains-a-string

View File

@ -2,8 +2,9 @@
hosts: all hosts: all
become: true become: true
roles: roles:
- pacman-update - native-pacman-update
- general - native-general
- native-administrator
- name: setup gaming hosts - name: setup gaming hosts
hosts: gaming_hosts hosts: gaming_hosts
become: true become: true

View File

@ -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

View File

@ -0,0 +1,2 @@
dependencies:
- native-git

View File

@ -0,0 +1,10 @@
- name: install administration tools
community.general.pacman:
name:
- base-devel
- yay
- make
- gcc
- cmake
- fdupes
state: present

View 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

View 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