Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brpaz committed Aug 27, 2023
1 parent 177ef2d commit 99d3993
Show file tree
Hide file tree
Showing 200 changed files with 1,152 additions and 1,159 deletions.
2 changes: 1 addition & 1 deletion provision/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ lint: ## Lints the ansible playbook
ansible-lint setup.yml roles

setup: ## Run initial setup script
sudo pip3 install -r requirements.txt
sudo pip install -r requirements.txt
ansible-galaxy install -r requirements.yml
ansible-playbook $(SETUP_PLAYBOOK_PATH) --ask-become-pass -i hosts

Expand Down
12 changes: 0 additions & 12 deletions provision/refactor.py

This file was deleted.

7 changes: 6 additions & 1 deletion provision/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Ansible Galaxy Roles
- src: https://github.com/jaredhocutt/ansible-gnome-extensions
roles:
- src: https://github.com/jaredhocutt/ansible-gnome-extensions

collections:
- name: community.docker
version: 3.4.8
4 changes: 2 additions & 2 deletions provision/roles/amberol/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Amberol
community.general.flatpak:
name: io.bassi.Amberol
state: present
name: Amberol
4 changes: 2 additions & 2 deletions provision/roles/asciinema/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- ansible.builtin.dnf:
- name: Ascicinema
ansible.builtin.dnf:
name: asciinema
state: present
become: true
name: Ascicinema
4 changes: 2 additions & 2 deletions provision/roles/audacity/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Audacity
community.general.flatpak:
name: org.audacityteam.Audacity
state: present
name: Audacity
4 changes: 2 additions & 2 deletions provision/roles/authy/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Authy
community.general.flatpak:
name: com.authy.Authy
state: present
name: Authy
4 changes: 2 additions & 2 deletions provision/roles/avvie/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Avvie
community.general.flatpak:
name: com.github.taiko2k.avvie
state: present
name: Avvie
8 changes: 4 additions & 4 deletions provision/roles/awscli/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- ansible.builtin.unarchive:
- name: AWS CLI | Download Installer
ansible.builtin.unarchive:
dest: /tmp
mode: '0755'
remote_src: true
src: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
name: AWS CLI | Download Installer
- ansible.builtin.command: ./aws/install --bin-dir {{ bin_dir }}--install-dir /usr/local/aws-cli
- name: AWS CLI | Run install command
ansible.builtin.command: ./aws/install --bin-dir {{ bin_dir }}--install-dir /usr/local/aws-cli
--update
args:
chdir: /tmp
become: true
name: AWS CLI | Run install command
4 changes: 2 additions & 2 deletions provision/roles/bat/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- ansible.builtin.dnf:
- name: Bat | Install
ansible.builtin.dnf:
name: bat
state: present
become: true
name: Bat | Install
8 changes: 4 additions & 4 deletions provision/roles/bitwarden-cli/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
- community.general.github_release:
- name: Bitwarden | Get latest release version
community.general.github_release:
action: latest_release
repo: cli
token: '{{ github_token }}'
user: bitwarden
name: Bitwarden | Get latest release version
register: bw_release
- ansible.builtin.unarchive:
- name: Bitwarden | Download
ansible.builtin.unarchive:
dest: '{{ bin_dir }}'
mode: a+x
remote_src: true
src: https://github.com/bitwarden/cli/releases/download/{{ bw_release.tag }}/bw-linux-{{
bw_release.tag[1:] }}.zip
become: true
name: Bitwarden | Download
4 changes: 2 additions & 2 deletions provision/roles/blanket/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Blanket
community.general.flatpak:
name: com.rafaelmardojai.Blanket
state: present
name: Blanket
4 changes: 2 additions & 2 deletions provision/roles/bleachbit/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- ansible.builtin.dnf:
- name: Bleachbit
ansible.builtin.dnf:
name: bleachbit
state: present
become: true
name: Bleachbit
4 changes: 2 additions & 2 deletions provision/roles/boxysvg/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: BoxySVG
community.general.flatpak:
name: com.boxy_svg.BoxySVG
state: present
name: BoxySVG
8 changes: 4 additions & 4 deletions provision/roles/brave-browser/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- ansible.builtin.yum_repository:
- name: Brave | Add Repository
ansible.builtin.yum_repository:
baseurl: https://brave-browser-rpm-release.s3.brave.com/x86_64/
description: Brave Browser
gpgkey: https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
name: brave
become: true
name: Brave | Add Repository
- ansible.builtin.dnf:
- name: Brave Browser | Install
ansible.builtin.dnf:
name: brave-browser
become: true
name: Brave Browser | Install
10 changes: 5 additions & 5 deletions provision/roles/cadvisor/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- community.docker.docker_container:
- name: CAdvisor | Start container
community.docker.docker_container:
command: --docker_only=true
image: gcr.io/cadvisor/cadvisor:v0.47.2
labels:
traefik.enable: 'false'
name: cadvisor
networks:
- name: monitoring
- name: traefik-public
- name: monitoring
- name: traefik-public
restart_policy: unless-stopped
state: started
volumes:
- /var/lib/docker/:/var/lib/docker:ro
name: CAdvisor | Start container
- /var/lib/docker/:/var/lib/docker:ro
4 changes: 2 additions & 2 deletions provision/roles/connections/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Gnome Connections
community.general.flatpak:
name: org.gnome.Connections
state: present
name: Gnome Connections
4 changes: 2 additions & 2 deletions provision/roles/copier/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- ansible.builtin.command: pipx install copier
name: Install Copier
- name: Install Copier
ansible.builtin.command: pipx install copier
33 changes: 15 additions & 18 deletions provision/roles/core/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
- name: Install core system packages
ansible.builtin.dnf:
name:
- git
- curl
- wget
- unzip
- python-psutil
- dconf-editor
- dnf-plugins-core
- make
- pwgen
- lnav
- httpie
- htop
- iotop
- ncdu
- tree
- figlet
- curl
- wget
- unzip
- python-psutil
- dconf-editor
- dnf-plugins-core
- make
- pwgen
- lnav
- httpie
- htop
- iotop
- ncdu
- tree
- figlet
state: present
become: true

- name: Put SELinux in permissive mode, logging actions that would be blocked.
ansible.posix.selinux:
policy: targeted
state: permissive
become: true

- name: Allow sudo without re entering the passowrd
ansible.builtin.lineinfile:
line: '%%wheel ALL=(ALL) NOPASSWD: ALL'
Expand Down
4 changes: 2 additions & 2 deletions provision/roles/cryptomator/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- ansible.builtin.dnf:
- name: Cryptomator
ansible.builtin.dnf:
name: org.cryptomator.Cryptomator
state: present
become: true
name: Cryptomator
9 changes: 5 additions & 4 deletions provision/roles/ctop/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
- community.general.github_release:
- name: Ctop | Get latest release
community.general.github_release:
action: latest_release
repo: ctop
token: '{{ github_token }}'
user: bcicen
name: ctop | Get latest release
register: release
- ansible.builtin.get_url:

- name: Ctop | Download and Install
ansible.builtin.get_url:
dest: '{{ bin_dir }}/ctop'
force: true
mode: a+x
url: https://github.com/bcicen/ctop/releases/download/{{ release.tag }}/ctop-{{
release.tag[1:] }}-linux-amd64
become: true
name: ctop | Download and Install
4 changes: 2 additions & 2 deletions provision/roles/currency-converter/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Currency Converter
community.general.flatpak:
name: io.github.idevecore.CurrencyConverter
state: present
name: Currency Converter
18 changes: 10 additions & 8 deletions provision/roles/dbcli/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
- ansible.builtin.dnf:
- name: Install PostgresSQL client
ansible.builtin.dnf:
name: libpq-devel
state: present
become: true
name: Install PostgresSQL client
- ansible.builtin.dnf:

- name: Install MySQL client
ansible.builtin.dnf:
name: community-mysql
state: present
become: true
name: Install MySQL client
- ansible.builtin.dnf:

- name: RBDMS cli tools
ansible.builtin.dnf:
name:
- pgcli
- mycli
- pgcli
- mycli
state: present
become: true
name: RBDMS cli tools
4 changes: 2 additions & 2 deletions provision/roles/dbeaver/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- become: true
- name: DBeaver
become: true
community.general.flatpak:
name: io.dbeaver.DBeaverCommunity
state: present
name: DBeaver
4 changes: 2 additions & 2 deletions provision/roles/denaro/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Denaro
community.general.flatpak:
name: org.nickvision.money
state: present
name: Denaro
8 changes: 4 additions & 4 deletions provision/roles/deskcreen/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- community.general.github_release:
- name: Deskscreen | Get latest release
community.general.github_release:
action: latest_release
repo: deskreen
token: '{{ github_token }}'
user: pavlobu
name: Deskscreen | Get latest release
register: release
- ansible.builtin.dnf:
- name: Deskscreen | Install
ansible.builtin.dnf:
disable_gpg_check: true
name: https://github.com/pavlobu/deskreen/releases/download/{{ release.tag }}/deskreen-{{
release.tag[1:] }}.x86_64.rpm
state: present
become: true
name: Deskscreen | Install
4 changes: 2 additions & 2 deletions provision/roles/dev-toolbox/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Dev Toolbox
community.general.flatpak:
name: me.iepure.devtoolbox
state: present
name: Dev Toolbox
4 changes: 2 additions & 2 deletions provision/roles/dialect/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Dialect
community.general.flatpak:
name: com.github.gi_lom.dialect
state: present
name: Dialect
4 changes: 2 additions & 2 deletions provision/roles/direnv/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- ansible.builtin.dnf:
- name: Direnv
ansible.builtin.dnf:
name: direnv
state: present
become: true
name: Direnv
4 changes: 2 additions & 2 deletions provision/roles/discord/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- community.general.flatpak:
- name: Discord
community.general.flatpak:
name: com.discordapp.Discord
state: present
name: Discord
12 changes: 6 additions & 6 deletions provision/roles/dive/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
- community.general.github_release:
- name: Dive | Get latest release version
community.general.github_release:
action: latest_release
repo: dive
token: '{{ github_token }}'
user: wagoodman
name: Dive | Get latest release version
register: dive_release
- ansible.builtin.unarchive:
- name: Dive | Download
ansible.builtin.unarchive:
dest: '{{ setup_dir }}'
remote_src: true
src: https://github.com/wagoodman/dive/releases/download/{{ dive_release.tag }}/dive_{{
dive_release.tag[1:] }}_linux_amd64.tar.gz
become: true
name: Dive | Download
- ansible.builtin.copy:
- name: Dive | install
ansible.builtin.copy:
dest: '{{ bin_dir }}/dive'
mode: a+x
src: '{{ setup_dir }}/dive'
become: true
name: Dive | install
Loading

0 comments on commit 99d3993

Please sign in to comment.