[TIDY] Set some "diff: false", fix linter warnings
This commit is contained in:
parent
47dd9508a6
commit
f380e0ba29
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
|
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
|
||||||
|
|
||||||
- name: devel - Fonts
|
- name: Devel - Fonts
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -9,12 +9,13 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- ttf-hack
|
- ttf-hack
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: vscode - Basics
|
- name: VSCode - Basics
|
||||||
when: user_vscode == true
|
when: user_vscode == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Basics - Install
|
- name: VSCode - Basics - Install
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -22,7 +23,8 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- code
|
- code
|
||||||
- name: vscode - Basics - Additional dependencies
|
diff: false
|
||||||
|
- name: VSCode - Basics - Additional dependencies
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -30,20 +32,21 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- plantuml
|
- plantuml
|
||||||
- name: vscode - Basics - Create settings directory
|
diff: false
|
||||||
|
- name: VSCode - Basics - Create settings directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_user_dir }}/.config/Code/User"
|
path: "{{ ansible_user_dir }}/.config/Code/User"
|
||||||
state: directory
|
state: directory
|
||||||
- name: vscode - Basics - Copy global settings
|
- name: VSCode - Basics - Copy global settings
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ role_path }}/files/vscode-settings.json"
|
src: "{{ role_path }}/files/vscode-settings.json"
|
||||||
dest: "{{ ansible_user_dir }}/.config/Code/User/settings.json"
|
dest: "{{ ansible_user_dir }}/.config/Code/User/settings.json"
|
||||||
|
|
||||||
# Dev Env - C/C++ Development Tools
|
# Dev Env - C/C++ Development Tools
|
||||||
- name: devel - C/C++
|
- name: Devel - C/C++
|
||||||
when: user_lang_cpp == true
|
when: user_lang_cpp == true
|
||||||
block:
|
block:
|
||||||
- name: devel - C/C++ - Install developer tools
|
- name: Devel - C/C++ - Install developer tools
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -51,15 +54,16 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- clang
|
- clang
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - Python Development Tools
|
# Dev Env - Python Development Tools
|
||||||
# all done in vscode.yml
|
# all done in vscode.yml
|
||||||
|
|
||||||
# Dev Env - Golang Development Tools
|
# Dev Env - Golang Development Tools
|
||||||
- name: devel - Golang
|
- name: Devel - Golang
|
||||||
when: user_lang_golang == true
|
when: user_lang_golang == true
|
||||||
block:
|
block:
|
||||||
- name: devel - Golang - Install developer tools
|
- name: Devel - Golang - Install developer tools
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -67,12 +71,13 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- go
|
- go
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - LaTeX Distribution
|
# Dev Env - LaTeX Distribution
|
||||||
- name: devel - LaTeX
|
- name: Devel - LaTeX
|
||||||
when: user_lang_latex == true
|
when: user_lang_latex == true
|
||||||
block:
|
block:
|
||||||
- name: devel - LaTeX - Install basic TeX distribution
|
- name: Devel - LaTeX - Install basic TeX distribution
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
@ -84,3 +89,4 @@
|
||||||
# - texlive-science
|
# - texlive-science
|
||||||
# - texlive-fontsextra
|
# - texlive-fontsextra
|
||||||
- biber
|
- biber
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,81 +1,84 @@
|
||||||
---
|
---
|
||||||
# Common/Devel: Install and Configure Dev Env - macOS Version
|
# Common/Devel: Install and Configure Dev Env - macOS Version
|
||||||
|
|
||||||
- name: devel - Fonts
|
- name: Devel - Fonts
|
||||||
ansible.builtin.homebrew_cask:
|
community.general.homebrew_cask:
|
||||||
name: homebrew/cask-fonts/font-hack
|
name: homebrew/cask-fonts/font-hack
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: vscode - Basics
|
- name: VSCode - Basics
|
||||||
when: user_vscode == true
|
when: user_vscode == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Basics - Install
|
- name: VSCode - Basics - Install
|
||||||
ansible.builtin.homebrew_cask:
|
community.general.homebrew_cask:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- visual-studio-code
|
- visual-studio-code
|
||||||
# - name: vscode - Basics - Additional dependencies (1)
|
# - name: VSCode - Basics - Additional dependencies (1)
|
||||||
# ansible.builtin.homebrew_cask:
|
# community.general.homebrew_cask:
|
||||||
# name: "{{ packages }}"
|
# name: "{{ packages }}"
|
||||||
# state: present
|
# state: present
|
||||||
# vars:
|
# vars:
|
||||||
# packages:
|
# packages:
|
||||||
# - java # TODO: needs user password!
|
# - java # TODO: needs user password!
|
||||||
# - name: vscode - Basics - Additional dependencies (2)
|
# - name: VSCode - Basics - Additional dependencies (2)
|
||||||
# ansible.builtin.homebrew:
|
# community.general.homebrew:
|
||||||
# name: "{{ packages }}"
|
# name: "{{ packages }}"
|
||||||
# state: present
|
# state: present
|
||||||
# vars:
|
# vars:
|
||||||
# packages:
|
# packages:
|
||||||
# - graphviz
|
# - graphviz
|
||||||
- name: vscode - Basics - Create settings directory
|
- name: VSCode - Basics - Create settings directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_user_dir }}/Library/Application Support/Code/User"
|
path: "{{ ansible_user_dir }}/Library/Application Support/Code/User"
|
||||||
state: directory
|
state: directory
|
||||||
- name: vscode - Basics - Copy global settings
|
- name: VSCode - Basics - Copy global settings
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ role_path }}/files/vscode-settings.json"
|
src: "{{ role_path }}/files/vscode-settings.json"
|
||||||
dest: "{{ ansible_user_dir }}/Library/Application Support/Code/User/settings.json"
|
dest: "{{ ansible_user_dir }}/Library/Application Support/Code/User/settings.json"
|
||||||
|
|
||||||
# Dev Env - C/C++ Development Tools
|
# Dev Env - C/C++ Development Tools
|
||||||
- name: devel - C/C++
|
- name: Devel - C/C++
|
||||||
when: user_lang_cpp == true
|
when: user_lang_cpp == true
|
||||||
block:
|
block:
|
||||||
- name: devel - C/C++ - Install developer tools
|
- name: Devel - C/C++ - Install developer tools
|
||||||
ansible.builtin.homebrew:
|
community.general.homebrew:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- clang-format
|
- clang-format
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - Python Development Tools
|
# Dev Env - Python Development Tools
|
||||||
# all done in vscode.yml
|
# all done in vscode.yml
|
||||||
|
|
||||||
# Dev Env - Golang Development Tools
|
# Dev Env - Golang Development Tools
|
||||||
- name: devel - Golang
|
- name: Devel - Golang
|
||||||
when: user_lang_golang == true
|
when: user_lang_golang == true
|
||||||
block:
|
block:
|
||||||
- name: devel - Golang - Install developer tools
|
- name: Devel - Golang - Install developer tools
|
||||||
ansible.builtin.homebrew:
|
community.general.homebrew:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- go
|
- go
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - LaTeX Distribution
|
# Dev Env - LaTeX Distribution
|
||||||
- name: devel - LaTeX
|
- name: Devel - LaTeX
|
||||||
when: user_vscode == true and user_lang_latex == true
|
when: user_vscode == true and user_lang_latex == true
|
||||||
block:
|
block:
|
||||||
- name: devel - LaTeX - Install basic TeX distribution
|
- name: Devel - LaTeX - Install basic TeX distribution
|
||||||
ansible.builtin.homebrew_cask:
|
community.general.homebrew_cask:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- basictex
|
- basictex
|
||||||
- tex-live-utility
|
- tex-live-utility
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,37 +1,39 @@
|
||||||
---
|
---
|
||||||
# Common/Devel: Install and Configure Dev Env - Debian Version
|
# Common/Devel: Install and Configure Dev Env - Debian Version
|
||||||
|
|
||||||
- name: devel - Fonts
|
- name: Devel - Fonts
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: fonts-hack-ttf
|
name: fonts-hack-ttf
|
||||||
state: present
|
state: present
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: vscode - Basics
|
- name: VSCode - Basics
|
||||||
when: user_vscode == true
|
when: user_vscode == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Basics - Add Repo Key
|
- name: VSCode - Basics - Add Repo Key
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.apt_key:
|
||||||
url: "https://packages.microsoft.com/keys/microsoft.asc"
|
url: "https://packages.microsoft.com/keys/microsoft.asc"
|
||||||
state: present
|
state: present
|
||||||
- name: vscode - Basics - Add Repo
|
- name: VSCode - Basics - Add Repo
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
repo: "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
||||||
filename: vscode
|
filename: vscode
|
||||||
state: present
|
state: present
|
||||||
- name: vscode - Basics - Install
|
- name: VSCode - Basics - Install
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- code
|
- code
|
||||||
- name: vscode - Basics - Additional dependencies
|
diff: false
|
||||||
become: yes
|
- name: VSCode - Basics - Additional dependencies
|
||||||
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -39,49 +41,52 @@
|
||||||
packages:
|
packages:
|
||||||
- plantuml
|
- plantuml
|
||||||
- graphviz
|
- graphviz
|
||||||
- name: vscode - Basics - Create settings directory
|
diff: false
|
||||||
|
- name: VSCode - Basics - Create settings directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_user_dir }}/.config/Code/User"
|
path: "{{ ansible_user_dir }}/.config/Code/User"
|
||||||
state: directory
|
state: directory
|
||||||
- name: vscode - Basics - Copy global settings
|
- name: VSCode - Basics - Copy global settings
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ role_path }}/files/vscode-settings.json"
|
src: "{{ role_path }}/files/vscode-settings.json"
|
||||||
dest: "{{ ansible_user_dir }}/.config/Code/User/settings.json"
|
dest: "{{ ansible_user_dir }}/.config/Code/User/settings.json"
|
||||||
|
|
||||||
# Dev Env - C/C++ Development Tools
|
# Dev Env - C/C++ Development Tools
|
||||||
- name: devel - C/C++
|
- name: Devel - C/C++
|
||||||
when: user_lang_cpp == true
|
when: user_lang_cpp == true
|
||||||
block:
|
block:
|
||||||
- name: devel - C/C++ - Install developer tools
|
- name: Devel - C/C++ - Install developer tools
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- clang-format
|
- clang-format
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - Python Development Tools
|
# Dev Env - Python Development Tools
|
||||||
# all done in vscode.yml
|
# all done in vscode.yml
|
||||||
|
|
||||||
# Dev Env - Golang Development Tools
|
# Dev Env - Golang Development Tools
|
||||||
- name: devel - Golang
|
- name: Devel - Golang
|
||||||
when: user_lang_golang == true
|
when: user_lang_golang == true
|
||||||
block:
|
block:
|
||||||
- name: devel - Golang - Install developer tools
|
- name: Devel - Golang - Install developer tools
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- golang
|
- golang
|
||||||
|
diff: false
|
||||||
|
|
||||||
# Dev Env - LaTeX Distribution
|
# Dev Env - LaTeX Distribution
|
||||||
- name: devel - LaTeX
|
- name: Devel - LaTeX
|
||||||
when: user_lang_latex == true
|
when: user_lang_latex == true
|
||||||
block:
|
block:
|
||||||
- name: devel - LaTeX - Install basic TeX distribution
|
- name: Devel - LaTeX - Install basic TeX distribution
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -92,3 +97,4 @@
|
||||||
# - texlive-science
|
# - texlive-science
|
||||||
# - texlive-fonts-extra
|
# - texlive-fonts-extra
|
||||||
- biber
|
- biber
|
||||||
|
diff: false
|
||||||
|
|
|
@ -13,17 +13,17 @@
|
||||||
# - user_lang_golang_gopath: Go workspace directory
|
# - user_lang_golang_gopath: Go workspace directory
|
||||||
# - user_lang_latex: Boolean for LaTeX
|
# - user_lang_latex: Boolean for LaTeX
|
||||||
|
|
||||||
- name: vscode - Install and configure VS Code
|
- name: VSCode - Install and configure VS Code
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "devel-{{ ansible_distribution }}.yml"
|
- "devel-{{ ansible_distribution }}.yml"
|
||||||
- "devel-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
- "devel-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: vscode - Basics
|
- name: VSCode - Basics
|
||||||
when: user_vscode == true
|
when: user_vscode == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Basics - Configure
|
- name: VSCode - Basics - Configure
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/usr/local/bin:$PATH
|
PATH=/usr/local/bin:$PATH
|
||||||
code --install-extension chiehyu.vscode-astyle
|
code --install-extension chiehyu.vscode-astyle
|
||||||
|
@ -36,10 +36,10 @@
|
||||||
code --install-extension grapecity.gc-excelviewer
|
code --install-extension grapecity.gc-excelviewer
|
||||||
|
|
||||||
# VS Code - C/C++ Development Tools
|
# VS Code - C/C++ Development Tools
|
||||||
- name: vscode - C/C++
|
- name: VSCode - C/C++
|
||||||
when: user_vscode == true and user_lang_cpp == true
|
when: user_vscode == true and user_lang_cpp == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - C/C++ - Configure VS Code
|
- name: VSCode - C/C++ - Configure VS Code
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/usr/local/bin:$PATH
|
PATH=/usr/local/bin:$PATH
|
||||||
code --install-extension ms-vscode.cpptools
|
code --install-extension ms-vscode.cpptools
|
||||||
|
@ -47,71 +47,71 @@
|
||||||
code --install-extension twxs.cmake
|
code --install-extension twxs.cmake
|
||||||
|
|
||||||
# VS Code - Python Development Tools
|
# VS Code - Python Development Tools
|
||||||
- name: devel - Python - Install python dev packages
|
- name: Devel - Python - Install python dev packages
|
||||||
when: user_lang_python == true
|
when: user_lang_python == true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name:
|
name:
|
||||||
- autopep8
|
- autopep8
|
||||||
# - pylint # must be installed in each venv individually!
|
# - pylint # must be installed in each venv individually!
|
||||||
executable: "{{ override_pip_exe | default(default_pip3_exe) }}"
|
executable: "{{ override_pip_exe | default(default_pip3_exe) }}"
|
||||||
- name: vscode - Python
|
- name: VSCode - Python
|
||||||
when: user_vscode == true and user_lang_python == true
|
when: user_vscode == true and user_lang_python == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Python - Configure VS Code
|
- name: VSCode - Python - Configure VS Code
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/usr/local/bin:$PATH
|
PATH=/usr/local/bin:$PATH
|
||||||
code --install-extension ms-python.python
|
code --install-extension ms-python.python
|
||||||
|
|
||||||
# VC Code - Golang Development Tools
|
# VC Code - Golang Development Tools
|
||||||
# https://golang.org/doc/install
|
# https://golang.org/doc/install
|
||||||
- name: devel - Golang - Setup Environment
|
- name: Devel - Golang - Setup Environment
|
||||||
when: user_lang_golang == true
|
when: user_lang_golang == true
|
||||||
block:
|
block:
|
||||||
- name: devel - Golang - Create workspace directory
|
- name: Devel - Golang - Create workspace directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ user_lang_golang_gopath }}"
|
path: "{{ user_lang_golang_gopath }}"
|
||||||
state: directory
|
state: directory
|
||||||
- name: devel - Golang - Create zshrc-host
|
- name: Devel - Golang - Create zshrc-host
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_user_dir }}/.zshrc-host"
|
path: "{{ ansible_user_dir }}/.zshrc-host"
|
||||||
state: touch
|
state: touch
|
||||||
- name: devel - Golang - Add GOPATH
|
- name: Devel - Golang - Add GOPATH
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "{{ ansible_user_dir }}/.zshrc-host"
|
path: "{{ ansible_user_dir }}/.zshrc-host"
|
||||||
line: "export GOPATH={{ user_lang_golang_gopath }}"
|
line: "export GOPATH={{ user_lang_golang_gopath }}"
|
||||||
state: present
|
state: present
|
||||||
backup: yes
|
backup: true
|
||||||
- name: devel - Golang - Add go bin to PATH
|
- name: Devel - Golang - Add go bin to PATH
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "{{ ansible_user_dir }}/.zshrc-host"
|
path: "{{ ansible_user_dir }}/.zshrc-host"
|
||||||
line: "export PATH=$PATH:{{ user_lang_golang_gopath }}/bin"
|
line: "export PATH=$PATH:{{ user_lang_golang_gopath }}/bin"
|
||||||
state: present
|
state: present
|
||||||
backup: yes
|
backup: true
|
||||||
# TODO: make this resilient against changes
|
# TODO: make this resilient against changes
|
||||||
# and group all golang stuff in one section inside zshrc-host
|
# and group all golang stuff in one section inside zshrc-host
|
||||||
|
|
||||||
- name: vscode - Golang
|
- name: VSCode - Golang
|
||||||
when: user_vscode == true and user_lang_golang == true
|
when: user_vscode == true and user_lang_golang == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Golang - Configure VS Code
|
- name: VSCode - Golang - Configure VS Code
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/usr/local/bin:$PATH
|
PATH=/usr/local/bin:$PATH
|
||||||
code --install-extension golang.go
|
code --install-extension golang.go
|
||||||
|
|
||||||
# VS Code - LaTeX Distribution
|
# VS Code - LaTeX Distribution
|
||||||
- name: devel - LaTeX - Install TeX packages
|
- name: Devel - LaTeX - Install TeX packages
|
||||||
when: user_lang_latex == true
|
when: user_lang_latex == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/Library/TeX/texbin:$PATH
|
PATH=/Library/TeX/texbin:$PATH
|
||||||
tlmgr update --self
|
tlmgr update --self
|
||||||
tlmgr install latexmk latexindent biblatex logreq xstring biber
|
tlmgr install latexmk latexindent biblatex logreq xstring biber
|
||||||
tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience
|
tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience
|
||||||
tlmgr install todonotes textpos lipsum pgfopts xpatch enumitem nomencl glossaries glossaries-german glossaries-english datatool mfirstuc xfor substr tracklang placeins placeins-plain csquotes appendixnumberbeamer fontaxes hyphenat
|
tlmgr install todonotes textpos lipsum pgfopts xpatch enumitem nomencl glossaries glossaries-german glossaries-english datatool mfirstuc xfor substr tracklang placeins placeins-plain csquotes appendixnumberbeamer fontaxes hyphenat
|
||||||
- name: vscode - LaTeX
|
- name: VSCode - LaTeX
|
||||||
when: user_vscode == true and user_lang_latex == true
|
when: user_vscode == true and user_lang_latex == true
|
||||||
block:
|
block:
|
||||||
- name: vscode - Basics - Configure
|
- name: VSCode - Basics - Configure
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
PATH=/usr/local/bin:$PATH
|
PATH=/usr/local/bin:$PATH
|
||||||
code --install-extension james-yu.latex-workshop
|
code --install-extension james-yu.latex-workshop
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - ArchLinux Version
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - ArchLinux Version
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -15,3 +15,4 @@
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- python-pip
|
- python-pip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - CentOS Version
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - CentOS Version
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,14 +13,15 @@
|
||||||
- zsh
|
- zsh
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
|
diff: false
|
||||||
|
|
||||||
- name: essentials - Install pip - Activate EPEL
|
- name: Essentials - Install pip - Activate EPEL
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
state: present
|
state: present
|
||||||
- name: essentials - Install pip - Install
|
- name: Essentials - Install pip - Install
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: python-pip
|
name: python-pip
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - macOS Version
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - macOS Version
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- python # includes pip
|
- python # includes pip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - Debian Version
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - Debian Version
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- git
|
- git
|
||||||
|
@ -16,3 +16,4 @@
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - FreeBSD Version
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip) - FreeBSD Version
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -15,3 +15,4 @@
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- python3
|
- python3
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip)
|
# Common/Essentials: Essential Utilities (git, curl; vim, tmux, zsh, pip)
|
||||||
|
|
||||||
- name: essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "essentials-{{ ansible_distribution }}.yml"
|
- "essentials-{{ ansible_distribution }}.yml"
|
||||||
- "essentials-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
- "essentials-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||||
|
|
|
@ -10,17 +10,17 @@
|
||||||
|
|
||||||
# if role has not changed, this will not be needed when just installing updates
|
# if role has not changed, this will not be needed when just installing updates
|
||||||
- name: Install essential tools
|
- name: Install essential tools
|
||||||
when: common_settingsonly | default(false) == false
|
when: not (common_settingsonly | default(false))
|
||||||
ansible.builtin.include_tasks: essentials.yml
|
ansible.builtin.include_tasks: essentials.yml
|
||||||
|
|
||||||
# if role has not changed, this will not be needed when just installing updates
|
# if role has not changed, this will not be needed when just installing updates
|
||||||
- name: Install more tools
|
- name: Install more tools
|
||||||
when: common_settingsonly | default(false) == false
|
when: not (common_settingsonly | default(false))
|
||||||
ansible.builtin.include_tasks: tools.yml
|
ansible.builtin.include_tasks: tools.yml
|
||||||
|
|
||||||
# this will just run once, because of a lock-file
|
# this will just run once, because of a lock-file
|
||||||
- name: Basics - Setup user shell
|
- name: Basics - Setup user shell
|
||||||
when: common_settingsonly | default(false) == false
|
when: not (common_settingsonly | default(false))
|
||||||
ansible.builtin.include_tasks: usersetup.yml
|
ansible.builtin.include_tasks: usersetup.yml
|
||||||
|
|
||||||
# run this for every maintenance/ update cycle
|
# run this for every maintenance/ update cycle
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# Common/Tools: Additional Tools (depending on OS) - ArchLinux Version
|
# Common/Tools: Additional Tools (depending on OS) - ArchLinux Version
|
||||||
# (bind-tools includes dig)
|
# (bind-tools includes dig)
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- bind-tools
|
- bind-tools
|
||||||
- htop
|
- htop
|
||||||
- unzip
|
- unzip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# Common/Tools: Additional Tools (depending on OS) - CentOS Version
|
# Common/Tools: Additional Tools (depending on OS) - CentOS Version
|
||||||
# (bind-utils includes dig)
|
# (bind-utils includes dig)
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- bind-utils
|
- bind-utils
|
||||||
- htop
|
- htop
|
||||||
- unzip
|
- unzip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
# Common/Tools: Additional Tools (depending on OS) - macOS Version
|
# Common/Tools: Additional Tools (depending on OS) - macOS Version
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
ansible.builtin.homebrew:
|
community.general.homebrew:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
update_homebrew: yes
|
update_homebrew: true
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- rsync
|
- rsync
|
||||||
|
diff: false
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# Common/Tools: Additional Tools (depending on OS) - Debian Version
|
# Common/Tools: Additional Tools (depending on OS) - Debian Version
|
||||||
# (dnsutils includes dig)
|
# (dnsutils includes dig)
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- dnsutils
|
- dnsutils
|
||||||
- htop
|
- htop
|
||||||
- unzip
|
- unzip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# Common/Tools: Additional Tools (depending on OS) - FreeBSD Version
|
# Common/Tools: Additional Tools (depending on OS) - FreeBSD Version
|
||||||
# (bind-tools includes dig)
|
# (bind-tools includes dig)
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- bind-tools
|
- bind-tools
|
||||||
- htop
|
- htop
|
||||||
- unzip
|
- unzip
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Tools: Additional Tools (depending on OS) (rsync; dnsutils, htop, unzip)
|
# Common/Tools: Additional Tools (depending on OS) (rsync; dnsutils, htop, unzip)
|
||||||
|
|
||||||
- name: tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "tools-{{ ansible_distribution }}.yml"
|
- "tools-{{ ansible_distribution }}.yml"
|
||||||
- "tools-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
- "tools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
# Common/Update: Install All Updates - CentOS Version
|
# Common/Update: Install All Updates - CentOS Version
|
||||||
|
|
||||||
- name: update - Update and upgrade all packages
|
- name: Update - Update and upgrade all packages
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: "*"
|
name: "*"
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Update: Install All Updates - macOS Version
|
# Common/Update: Install All Updates - macOS Version
|
||||||
|
|
||||||
- name: update - Update and upgrade all packages
|
- name: Update - Update and upgrade all packages
|
||||||
ansible.builtin.homebrew:
|
community.general.homebrew:
|
||||||
update_homebrew: yes
|
update_homebrew: true
|
||||||
upgrade_all: yes
|
upgrade_all: true
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
# Common/Update: Install All Updates - Debian Version
|
# Common/Update: Install All Updates - Debian Version
|
||||||
|
|
||||||
- name: update - Update and upgrade all packages
|
- name: Update - Update and upgrade all packages
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
force_apt_get: true
|
force_apt_get: true
|
||||||
name: "*"
|
name: "*"
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
autoclean: yes
|
autoclean: true
|
||||||
autoremove: yes
|
autoremove: true
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
# Common/Update: Install All Updates
|
# Common/Update: Install All Updates
|
||||||
|
|
||||||
- name: update - Update and upgrade all packages
|
- name: Update - Update and upgrade all packages
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "update-{{ ansible_distribution }}.yml"
|
- "update-{{ ansible_distribution }}.yml"
|
||||||
- "update-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
- "update-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Usersettings: Universial Dotfiles. Update regularly.
|
# Common/Usersettings: Universial Dotfiles. Update regularly.
|
||||||
|
|
||||||
- name: usersettings - Install required tools
|
- name: Usersettings - Install required tools
|
||||||
become: true
|
become: true
|
||||||
ignore_errors: true # just fail on systems without sudo access
|
ignore_errors: true # just fail on systems without sudo access
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
@ -10,26 +10,30 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- git
|
- git
|
||||||
|
diff: false
|
||||||
|
|
||||||
- name: usersettings - Install/ Update oh-my-zsh for current user
|
- name: Usersettings - Install/ Update oh-my-zsh for current user
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://github.com/robbyrussell/oh-my-zsh.git
|
repo: https://github.com/robbyrussell/oh-my-zsh.git
|
||||||
dest: "{{ ansible_user_dir }}/.oh-my-zsh"
|
dest: "{{ ansible_user_dir }}/.oh-my-zsh"
|
||||||
|
diff: false
|
||||||
|
|
||||||
- name: usersettings - Install/ Update fzf sources
|
- name: Usersettings - Install/ Update fzf sources
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://github.com/junegunn/fzf.git
|
repo: https://github.com/junegunn/fzf.git
|
||||||
dest: "{{ ansible_user_dir }}/.fzf"
|
dest: "{{ ansible_user_dir }}/.fzf"
|
||||||
register: fzf_git
|
register: fzf_git
|
||||||
|
diff: false
|
||||||
- name: (Re-)Install fzf
|
- name: (Re-)Install fzf
|
||||||
when:
|
when:
|
||||||
- fzf_git.after != fzf_git.before
|
- fzf_git.after != fzf_git.before
|
||||||
ansible.builtin.shell: ".fzf/install --key-bindings --no-completion --no-update-rc"
|
ansible.builtin.shell: ".fzf/install --key-bindings --no-completion --no-update-rc"
|
||||||
|
|
||||||
- name: usersettings - Install pip virtualenvwrapper
|
- name: Usersettings - Install pip virtualenvwrapper
|
||||||
when: usersetup_virtualenvwrapper
|
when: usersetup_virtualenvwrapper
|
||||||
|
diff: false
|
||||||
block:
|
block:
|
||||||
- name: usersettings - Install pip3
|
- name: Usersettings - Install pip3
|
||||||
when:
|
when:
|
||||||
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "Darwin" and
|
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "Darwin" and
|
||||||
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "FreeBSD"
|
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "FreeBSD"
|
||||||
|
@ -41,26 +45,27 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- name: usersettings - Install pip virtualenvwrapper (Debian)
|
diff: false
|
||||||
|
- name: Usersettings - Install pip virtualenvwrapper (Debian)
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Debian"
|
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Debian"
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
extra_args: --system
|
extra_args: --system
|
||||||
- name: usersettings - Install pip virtualenvwrapper (macOS)
|
- name: Usersettings - Install pip virtualenvwrapper (macOS)
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
|
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
|
||||||
environment:
|
environment:
|
||||||
PATH: "/usr/local/bin:{{ ansible_env.PATH }}"
|
PATH: "/usr/local/bin:{{ ansible_env.PATH }}"
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
- name: usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
- name: Usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
||||||
when:
|
when:
|
||||||
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Centos" or
|
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Centos" or
|
||||||
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Archlinux"
|
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Archlinux"
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
- name: usersettings - Copy dotfiles
|
- name: Usersettings - Copy dotfiles
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
@ -77,13 +82,13 @@
|
||||||
src: "{{ role_path }}/files/_oh-my-zsh/jtbx.zsh-theme",
|
src: "{{ role_path }}/files/_oh-my-zsh/jtbx.zsh-theme",
|
||||||
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/themes/jtbx.zsh-theme",
|
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/themes/jtbx.zsh-theme",
|
||||||
}
|
}
|
||||||
- name: usersettings - Create some directories
|
- name: Usersettings - Create some directories
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ansible_user_dir }}/.config/htop/"
|
- "{{ ansible_user_dir }}/.config/htop/"
|
||||||
- name: usersettings - Set templated dotfiles
|
- name: Usersettings - Set templated dotfiles
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
@ -93,44 +98,45 @@
|
||||||
- {
|
- {
|
||||||
src: "{{ role_path }}/templates/_zshrc.j2",
|
src: "{{ role_path }}/templates/_zshrc.j2",
|
||||||
dest: "{{ ansible_user_dir }}/.zshrc",
|
dest: "{{ ansible_user_dir }}/.zshrc",
|
||||||
force: yes,
|
force: true,
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
src: "{{ role_path }}/templates/_tmux.conf.j2",
|
src: "{{ role_path }}/templates/_tmux.conf.j2",
|
||||||
dest: "{{ ansible_user_dir }}/.tmux.conf",
|
dest: "{{ ansible_user_dir }}/.tmux.conf",
|
||||||
force: yes,
|
force: true,
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
src: "{{ role_path }}/templates/_vimrc.j2",
|
src: "{{ role_path }}/templates/_vimrc.j2",
|
||||||
dest: "{{ ansible_user_dir }}/.vimrc",
|
dest: "{{ ansible_user_dir }}/.vimrc",
|
||||||
force: yes,
|
force: true,
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
src: "{{ role_path }}/templates/htoprc.j2",
|
src: "{{ role_path }}/templates/htoprc.j2",
|
||||||
dest: "{{ ansible_user_dir }}/.config/htop/htoprc",
|
dest: "{{ ansible_user_dir }}/.config/htop/htoprc",
|
||||||
force: no,
|
force: no,
|
||||||
}
|
}
|
||||||
- name: usersettings - Set global gitconfig
|
- name: Usersettings - Set global gitconfig
|
||||||
when: usersetup_gitconfig == true
|
when: usersetup_gitconfig == true
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/_gitconfig.j2"
|
src: "{{ role_path }}/templates/_gitconfig.j2"
|
||||||
dest: "{{ ansible_user_dir }}/.gitconfig"
|
dest: "{{ ansible_user_dir }}/.gitconfig"
|
||||||
|
|
||||||
- name: usersettings - Vim Plugings
|
- name: Usersettings - Vim Plugings
|
||||||
when: usersetup_vimplugins == true
|
when: usersetup_vimplugins == true
|
||||||
block:
|
block:
|
||||||
- name: usersettings - Create .vim directory
|
- name: Usersettings - Create .vim directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_user_dir }}/.vim/autoload"
|
path: "{{ ansible_user_dir }}/.vim/autoload"
|
||||||
state: directory
|
state: directory
|
||||||
- name: usersettings - Install vim plugin manager
|
- name: Usersettings - Install vim plugin manager
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://tpo.pe/pathogen.vim
|
url: https://tpo.pe/pathogen.vim
|
||||||
dest: "{{ ansible_user_dir }}/.vim/autoload/pathogen.vim"
|
dest: "{{ ansible_user_dir }}/.vim/autoload/pathogen.vim"
|
||||||
- name: usersettings - Install vim plugins
|
- name: Usersettings - Install vim plugins
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: "{{ item.repo }}"
|
repo: "{{ item.repo }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
diff: false
|
||||||
with_items:
|
with_items:
|
||||||
- {
|
- {
|
||||||
repo: "https://github.com/itchyny/lightline.vim",
|
repo: "https://github.com/itchyny/lightline.vim",
|
||||||
|
@ -152,3 +158,4 @@
|
||||||
repo: "https://github.com/tpope/vim-commentary",
|
repo: "https://github.com/tpope/vim-commentary",
|
||||||
dest: "{{ ansible_user_dir }}/.vim/bundle/vim-commentary",
|
dest: "{{ ansible_user_dir }}/.vim/bundle/vim-commentary",
|
||||||
}
|
}
|
||||||
|
# TODO: https://github.com/jan-warchol/selenized
|
||||||
|
|
|
@ -2,42 +2,43 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - ArchLinux Version
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - ArchLinux Version
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Check, if usersetup already ran
|
- name: Usersetup - Check, if usersetup already ran
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
||||||
register: common_usersetup
|
register: common_usersetup
|
||||||
|
|
||||||
- name: usersetup - Change login shell to zsh for current user
|
- name: Usersetup - Change login shell to zsh for current user
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
|
|
||||||
# TODO: adapt to ArchLinux systems, if needed
|
# TODO: adapt to ArchLinux systems, if needed
|
||||||
# - name: usersetup - Install locales package
|
# - name: Usersetup - Install locales package
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.apt:
|
# ansible.builtin.apt:
|
||||||
# name: locales
|
# name: locales
|
||||||
# state: present
|
# state: present
|
||||||
|
# diff: false
|
||||||
|
|
||||||
# - name: usersetup - Setup locale en_US
|
# - name: Usersetup - Setup locale en_US
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: en_US.UTF-8
|
# name: en_US.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
# - name: usersetup - Setup locale de_DE
|
# - name: Usersetup - Setup locale de_DE
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: de_DE.UTF-8
|
# name: de_DE.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
|
|
||||||
- name: usersetup - Create lockfile
|
- name: Usersetup - Create lockfile
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -2,42 +2,43 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - CentOS Version
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - CentOS Version
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Check, if usersetup already ran
|
- name: Usersetup - Check, if usersetup already ran
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
||||||
register: common_usersetup
|
register: common_usersetup
|
||||||
|
|
||||||
- name: usersetup - Change login shell to zsh for current user
|
- name: Usersetup - Change login shell to zsh for current user
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
|
|
||||||
# TODO: adapt to CentOS/ RHEL systems, if needed
|
# TODO: adapt to CentOS/ RHEL systems, if needed
|
||||||
# - name: usersetup - Install locales package
|
# - name: Usersetup - Install locales package
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.apt:
|
# ansible.builtin.apt:
|
||||||
# name: locales
|
# name: locales
|
||||||
# state: present
|
# state: present
|
||||||
|
# diff: false
|
||||||
|
|
||||||
# - name: usersetup - Setup locale en_US
|
# - name: Usersetup - Setup locale en_US
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: en_US.UTF-8
|
# name: en_US.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
# - name: usersetup - Setup locale de_DE
|
# - name: Usersetup - Setup locale de_DE
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: de_DE.UTF-8
|
# name: de_DE.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
|
|
||||||
- name: usersetup - Create lockfile
|
- name: Usersetup - Create lockfile
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -2,20 +2,20 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - macOS Version
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - macOS Version
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Check, if usersetup already ran
|
- name: Usersetup - Check, if usersetup already ran
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
||||||
register: common_usersetup
|
register: common_usersetup
|
||||||
|
|
||||||
- name: usersetup - Change login shell to zsh for current user
|
- name: Usersetup - Change login shell to zsh for current user
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
|
|
||||||
- name: usersetup - Create lockfile
|
- name: Usersetup - Create lockfile
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -2,41 +2,42 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - Debian Version
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - Debian Version
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Check, if usersetup already ran
|
- name: Usersetup - Check, if usersetup already ran
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
||||||
register: common_usersetup
|
register: common_usersetup
|
||||||
|
|
||||||
- name: usersetup - Change login shell to zsh for current user
|
- name: Usersetup - Change login shell to zsh for current user
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
|
|
||||||
- name: usersetup - Install locales package
|
- name: Usersetup - Install locales package
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: locales
|
name: locales
|
||||||
state: present
|
state: present
|
||||||
|
diff: false
|
||||||
|
|
||||||
- name: usersetup - Setup locale en_US
|
- name: Usersetup - Setup locale en_US
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.locale_gen:
|
ansible.builtin.locale_gen:
|
||||||
name: en_US.UTF-8
|
name: en_US.UTF-8
|
||||||
state: present
|
state: present
|
||||||
- name: usersetup - Setup locale de_DE
|
- name: Usersetup - Setup locale de_DE
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.locale_gen:
|
ansible.builtin.locale_gen:
|
||||||
name: de_DE.UTF-8
|
name: de_DE.UTF-8
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: usersetup - Create lockfile
|
- name: Usersetup - Create lockfile
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -2,41 +2,42 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - FreeBSD Version
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - FreeBSD Version
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Check, if usersetup already ran
|
- name: Usersetup - Check, if usersetup already ran
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
|
||||||
register: common_usersetup
|
register: common_usersetup
|
||||||
|
|
||||||
- name: usersetup - Change login shell to zsh for current user
|
- name: Usersetup - Change login shell to zsh for current user
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
- common_usersetup.stat.exists == false and usersetup_chsh == true
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /usr/local/bin/zsh
|
shell: /usr/local/bin/zsh
|
||||||
|
|
||||||
# - name: usersetup - Install locales package
|
# - name: Usersetup - Install locales package
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.apt:
|
# ansible.builtin.apt:
|
||||||
# name: locales
|
# name: locales
|
||||||
# state: present
|
# state: present
|
||||||
|
# diff: false
|
||||||
|
|
||||||
# - name: usersetup - Setup locale en_US
|
# - name: Usersetup - Setup locale en_US
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: en_US.UTF-8
|
# name: en_US.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
# - name: usersetup - Setup locale de_DE
|
# - name: Usersetup - Setup locale de_DE
|
||||||
# when:
|
# when:
|
||||||
# - common_usersetup.stat.exists == false
|
# - common_usersetup.stat.exists == false
|
||||||
# become: yes
|
# become: true
|
||||||
# ansible.builtin.locale_gen:
|
# ansible.builtin.locale_gen:
|
||||||
# name: de_DE.UTF-8
|
# name: de_DE.UTF-8
|
||||||
# state: present
|
# state: present
|
||||||
|
|
||||||
- name: usersetup - Create lockfile
|
- name: Usersetup - Create lockfile
|
||||||
when:
|
when:
|
||||||
- common_usersetup.stat.exists == false
|
- common_usersetup.stat.exists == false
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles.
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles.
|
||||||
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
||||||
|
|
||||||
- name: usersetup - Run setup tasks
|
- name: Usersetup - Run setup tasks
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "usersetup-{{ ansible_distribution }}.yml"
|
- "usersetup-{{ ansible_distribution }}.yml"
|
||||||
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools - ArchLinux Version
|
# Common/Usertools: User's Main Machine/ Developer Tools - ArchLinux Version
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
- ansible
|
- ansible
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools - CentOS Version
|
# Common/Usertools: User's Main Machine/ Developer Tools - CentOS Version
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
- ansible
|
- ansible
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools - macOS Version
|
# Common/Usertools: User's Main Machine/ Developer Tools - macOS Version
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -12,3 +12,4 @@
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
- ansible
|
- ansible
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools - Debian Version
|
# Common/Usertools: User's Main Machine/ Developer Tools - Debian Version
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
- ansible
|
- ansible
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools - FreeBSD Version
|
# Common/Usertools: User's Main Machine/ Developer Tools - FreeBSD Version
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,3 +13,4 @@
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
#- ansible
|
#- ansible
|
||||||
|
diff: false
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Common/Usertools: User's Main Machine/ Developer Tools (nmap, rsync, icdiff, iftop, ansible)
|
# Common/Usertools: User's Main Machine/ Developer Tools (nmap, rsync, icdiff, iftop, ansible)
|
||||||
|
|
||||||
- name: usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
ansible.builtin.include_tasks: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "usertools-{{ ansible_distribution }}.yml"
|
- "usertools-{{ ansible_distribution }}.yml"
|
||||||
|
|
Loading…
Reference in a new issue