Compare commits
No commits in common. "6624d52f06adc4cd0fbb36aba7e714f820f59c7f" and "758bbf33f924620cdb8fe72439aca67a2f464ca7" have entirely different histories.
6624d52f06
...
758bbf33f9
7 changed files with 7 additions and 19 deletions
|
|
@ -16,14 +16,12 @@
|
||||||
- name: VSCode - Install and configure VS Code
|
- name: VSCode - Install and configure VS Code
|
||||||
tags: vscode
|
tags: vscode
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "{{ with_first_found_item }}"
|
file: "{{ item }}"
|
||||||
apply:
|
apply:
|
||||||
tags: vscode
|
tags: vscode
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "devel-{{ ansible_facts['distribution'] }}.yml"
|
- "devel-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: VSCode - Basics
|
- name: VSCode - Basics
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,7 @@
|
||||||
# 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: "{{ with_first_found_item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "essentials-{{ ansible_facts['distribution'] }}.yml"
|
- "essentials-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "essentials-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "essentials-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,7 @@
|
||||||
# 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: "{{ with_first_found_item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "tools-{{ ansible_facts['distribution'] }}.yml"
|
- "tools-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "tools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "tools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,8 @@
|
||||||
# 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: "{{ with_first_found_item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "update-{{ ansible_facts['distribution'] }}.yml"
|
- "update-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "update-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "update-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
|
when: (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
|
||||||
environment:
|
environment:
|
||||||
PATH: "/usr/local/bin:{{ ansible_facts['env']['PATH'] }}"
|
PATH: "/usr/local/bin:{{ ansible_facts['env']['PATH'] }}"
|
||||||
ansible.builtin.homebrew:
|
ansible.builtin.pip:
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
- name: Usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
- name: Usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
||||||
when:
|
when:
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@
|
||||||
# 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: "{{ with_first_found_item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "usersetup-{{ ansible_facts['distribution'] }}.yml"
|
- "usersetup-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,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: "{{ with_first_found_item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "usertools-{{ ansible_facts['distribution'] }}.yml"
|
- "usertools-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "usertools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "usertools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
loop_control:
|
|
||||||
loop_var: with_first_found_item
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue