From 8b3002316f2190890ad89887aebbfd02b1ee5eaa Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sat, 5 Feb 2022 22:30:44 -0500 Subject: [PATCH] Simplify and consolidate scripts --- ansible/ansible/README.md | 24 --- ansible/ansible/defaults/main.yml | 2 - ansible/ansible/handlers/main.yml | 2 - ansible/ansible/tasks/main.yml | 5 - ansible/ansible/vars/main.yml | 2 - ansible/arch_appimage/defaults/main.yml | 2 - ansible/arch_appimage/handlers/main.yml | 2 - ansible/arch_appimage/tasks/main.yml | 11 -- ansible/arch_appimage/vars/main.yml | 2 - ansible/arch_bluetooth/defaults/main.yml | 2 - ansible/arch_bluetooth/handlers/main.yml | 2 - ansible/arch_bluetooth/tasks/main.yml | 15 -- ansible/arch_bluetooth/vars/main.yml | 2 - ansible/arch_citrix/defaults/main.yml | 2 - ansible/arch_citrix/handlers/main.yml | 2 - ansible/arch_citrix/vars/main.yml | 2 - ansible/arch_docker/defaults/main.yml | 2 - ansible/arch_docker/handlers/main.yml | 2 - ansible/arch_docker/tasks/main.yml | 15 -- ansible/arch_docker/tests/test.yml | 5 - ansible/arch_docker/vars/main.yml | 2 - ansible/arch_qmk/defaults/main.yml | 2 - ansible/arch_qmk/handlers/main.yml | 2 - ansible/arch_qmk/tasks/main.yml | 18 -- ansible/arch_qmk/tests/test.yml | 5 - ansible/arch_qmk/vars/main.yml | 2 - ansible/arch_ufw/.travis.yml | 29 --- ansible/arch_ufw/defaults/main.yml | 2 - ansible/arch_ufw/handlers/main.yml | 2 - ansible/arch_ufw/meta/main.yml | 52 ------ ansible/arch_ufw/tasks/main.yml | 16 -- ansible/arch_ufw/tests/inventory | 2 - ansible/arch_ufw/tests/test.yml | 5 - ansible/arch_ufw/vars/main.yml | 2 - ansible/arch_wireguard/.travis.yml | 29 --- ansible/arch_wireguard/README.md | 38 ---- ansible/arch_wireguard/defaults/main.yml | 2 - ansible/arch_wireguard/handlers/main.yml | 2 - ansible/arch_wireguard/meta/main.yml | 52 ------ ansible/arch_wireguard/tasks/main.yml | 12 -- ansible/arch_wireguard/tests/inventory | 2 - ansible/arch_wireguard/tests/test.yml | 5 - ansible/arch_wireguard/vars/main.yml | 2 - ansible/auto_cpufreq/.travis.yml | 29 --- ansible/auto_cpufreq/README.md | 38 ---- ansible/auto_cpufreq/defaults/main.yml | 2 - ansible/auto_cpufreq/handlers/main.yml | 2 - ansible/auto_cpufreq/meta/main.yml | 52 ------ ansible/auto_cpufreq/tasks/main.yml | 25 --- ansible/auto_cpufreq/tests/inventory | 2 - ansible/auto_cpufreq/tests/test.yml | 5 - ansible/auto_cpufreq/vars/main.yml | 2 - ansible/aws_cli/.travis.yml | 29 --- ansible/aws_cli/README.md | 38 ---- ansible/aws_cli/defaults/main.yml | 2 - ansible/aws_cli/handlers/main.yml | 2 - ansible/aws_cli/meta/main.yml | 52 ------ ansible/aws_cli/tasks/main.yml | 27 --- ansible/aws_cli/tests/inventory | 2 - ansible/aws_cli/tests/test.yml | 5 - ansible/aws_cli/vars/main.yml | 2 - ansible/dconf/.travis.yml | 29 --- ansible/dconf/README.md | 38 ---- ansible/dconf/meta/main.yml | 52 ------ ansible/dconf/tests/inventory | 2 - ansible/gnome_extensions/.travis.yml | 29 --- ansible/gnome_extensions/README.md | 38 ---- ansible/gnome_extensions/meta/main.yml | 52 ------ ansible/gnome_extensions/tests/inventory | 2 - ansible/hashicorp_tools/.travis.yml | 29 --- ansible/hashicorp_tools/README.md | 38 ---- ansible/hashicorp_tools/defaults/main.yml | 2 - ansible/hashicorp_tools/handlers/main.yml | 2 - ansible/hashicorp_tools/meta/main.yml | 52 ------ ansible/hashicorp_tools/tasks/main.yml | 49 ----- ansible/hashicorp_tools/tests/inventory | 2 - ansible/hashicorp_tools/tests/test.yml | 5 - ansible/hashicorp_tools/vars/main.yml | 5 - ansible/pacman_daily_drivers/.travis.yml | 29 --- ansible/pacman_daily_drivers/README.md | 38 ---- .../pacman_daily_drivers/defaults/main.yml | 2 - .../pacman_daily_drivers/handlers/main.yml | 2 - ansible/pacman_daily_drivers/meta/main.yml | 52 ------ ansible/pacman_daily_drivers/tasks/main.yml | 31 ---- ansible/pacman_daily_drivers/tests/inventory | 2 - ansible/pacman_daily_drivers/tests/test.yml | 5 - ansible/pacman_daily_drivers/vars/main.yml | 2 - ansible/pacman_system_tools/.travis.yml | 29 --- ansible/pacman_system_tools/README.md | 38 ---- ansible/pacman_system_tools/defaults/main.yml | 2 - ansible/pacman_system_tools/handlers/main.yml | 2 - ansible/pacman_system_tools/meta/main.yml | 52 ------ ansible/pacman_system_tools/tasks/main.yml | 15 -- ansible/pacman_system_tools/tests/inventory | 2 - ansible/pacman_system_tools/tests/test.yml | 5 - ansible/pacman_system_tools/vars/main.yml | 2 - ansible/pacman_update/.travis.yml | 29 --- ansible/pacman_update/README.md | 38 ---- ansible/pacman_update/defaults/main.yml | 1 - ansible/pacman_update/handlers/main.yml | 2 - ansible/pacman_update/meta/main.yml | 52 ------ ansible/pacman_update/tasks/main.yml | 8 - ansible/pacman_update/tests/inventory | 2 - ansible/pacman_update/tests/test.yml | 5 - ansible/pacman_update/vars/main.yml | 2 - ansible/setup-full.yml | 82 -------- ansible/snap_daily_drivers/.travis.yml | 29 --- ansible/snap_daily_drivers/README.md | 38 ---- ansible/snap_daily_drivers/defaults/main.yml | 2 - ansible/snap_daily_drivers/handlers/main.yml | 2 - ansible/snap_daily_drivers/meta/main.yml | 52 ------ ansible/snap_daily_drivers/tasks/main.yml | 38 ---- ansible/snap_daily_drivers/tests/inventory | 2 - ansible/snap_daily_drivers/tests/test.yml | 5 - ansible/snap_daily_drivers/vars/main.yml | 2 - ansible/yay_daily_drivers/.travis.yml | 29 --- ansible/yay_daily_drivers/README.md | 38 ---- ansible/yay_daily_drivers/defaults/main.yml | 2 - ansible/yay_daily_drivers/handlers/main.yml | 2 - ansible/yay_daily_drivers/meta/main.yml | 52 ------ ansible/yay_daily_drivers/tasks/main.yml | 3 - ansible/yay_daily_drivers/tests/inventory | 2 - ansible/yay_daily_drivers/tests/test.yml | 5 - ansible/yay_daily_drivers/vars/main.yml | 2 - arch/backtop.yml | 34 ++++ .../btrfs_backups}/.travis.yml | 0 .../btrfs_backups}/README.md | 0 .../btrfs_backups}/defaults/main.yml | 0 .../btrfs_backups}/handlers/main.yml | 0 .../btrfs_backups}/meta/main.yml | 0 .../btrfs_backups}/tasks/main.yml | 0 .../templates/btrfs_backup.sh.j2 | 0 .../templates/open_backup.sh.j2 | 0 .../btrfs_backups}/tests/inventory | 0 .../btrfs_backups}/tests/test.yml | 0 .../btrfs_backups}/vars/main.yml | 0 .../daily_drivers}/.travis.yml | 0 .../daily_drivers}/README.md | 0 arch/daily_drivers/defaults/main.yml | 2 + arch/daily_drivers/handlers/main.yml | 2 + .../daily_drivers}/meta/main.yml | 0 arch/daily_drivers/tasks/main.yml | 82 ++++++++ .../daily_drivers}/tests/inventory | 0 .../daily_drivers}/tests/test.yml | 2 +- arch/daily_drivers/vars/main.yml | 2 + .../arch_backup => arch/dconf}/.travis.yml | 0 .../arch_bluetooth => arch/dconf}/README.md | 0 {ansible => arch}/dconf/defaults/main.yml | 0 {ansible => arch}/dconf/handlers/main.yml | 0 .../arch_backup => arch/dconf}/meta/main.yml | 0 {ansible => arch}/dconf/tasks/main.yml | 0 .../dconf}/tests/inventory | 0 {ansible => arch}/dconf/tests/test.yml | 0 {ansible => arch}/dconf/vars/main.yml | 0 .../developer_tools}/.travis.yml | 0 .../developer_tools}/README.md | 0 arch/developer_tools/defaults/main.yml | 2 + arch/developer_tools/handlers/main.yml | 2 + .../developer_tools}/meta/main.yml | 0 arch/developer_tools/tasks/main.yml | 175 ++++++++++++++++++ .../developer_tools}/tests/inventory | 0 .../developer_tools}/tests/test.yml | 2 +- arch/developer_tools/vars/main.yml | 2 + .../arch_citrix => arch/dnet_ca}/.travis.yml | 0 .../arch_dnet_ca => arch/dnet_ca}/README.md | 0 .../dnet_ca}/defaults/main.yml | 0 .../dnet_ca}/handlers/main.yml | 0 .../dnet_ca}/meta/main.yml | 0 .../dnet_ca}/tasks/main.yml | 0 .../dnet_ca}/tests/inventory | 0 .../dnet_ca}/tests/test.yml | 0 .../dnet_ca}/vars/main.yml | 0 arch/framework.yml | 49 +++++ .../gnome_extensions}/.travis.yml | 0 .../gnome_extensions}/README.md | 0 .../gnome_extensions/defaults/main.yml | 0 .../gnome_extensions/handlers/main.yml | 0 .../gnome_extensions}/meta/main.yml | 0 .../gnome_extensions/tasks/main.yml | 0 .../gnome_extensions}/tests/inventory | 0 .../gnome_extensions/tests/test.yml | 0 .../gnome_extensions/vars/main.yml | 0 .../hardware_tools}/.travis.yml | 0 .../hardware_tools}/README.md | 0 arch/hardware_tools/defaults/main.yml | 2 + arch/hardware_tools/handlers/main.yml | 2 + .../hardware_tools}/meta/main.yml | 0 arch/hardware_tools/tasks/main.yml | 62 +++++++ .../hardware_tools}/tests/inventory | 0 .../hardware_tools}/tests/test.yml | 2 +- arch/hardware_tools/vars/main.yml | 2 + .../iscsi_freenas}/.travis.yml | 0 .../iscsi_freenas}/README.md | 0 .../iscsi_freenas}/defaults/main.yml | 0 .../iscsi_freenas}/handlers/main.yml | 0 .../iscsi_freenas}/meta/main.yml | 0 .../iscsi_freenas}/tasks/main.yml | 7 + .../iscsi_freenas}/tests/inventory | 0 .../iscsi_freenas}/tests/test.yml | 0 .../iscsi_freenas}/vars/main.yml | 0 .../minecraft}/.travis.yml | 0 .../arch_openssh => arch/minecraft}/README.md | 0 .../minecraft}/defaults/main.yml | 0 .../minecraft}/handlers/main.yml | 0 .../minecraft}/meta/main.yml | 0 .../minecraft}/tasks/main.yml | 0 .../minecraft}/tests/inventory | 0 .../minecraft}/tests/test.yml | 0 .../minecraft}/vars/main.yml | 0 .../arch_openssh => arch/openssh}/.travis.yml | 0 {ansible/arch_qmk => arch/openssh}/README.md | 0 .../openssh}/defaults/main.yml | 0 .../openssh}/handlers/main.yml | 0 .../openssh}/meta/main.yml | 0 .../openssh}/tasks/main.yml | 7 + .../openssh}/tests/inventory | 0 .../openssh}/tests/test.yml | 0 .../openssh}/vars/main.yml | 0 {ansible/arch_qmk => arch/swap}/.travis.yml | 0 {ansible/arch_swap => arch/swap}/README.md | 0 .../arch_swap => arch/swap}/defaults/main.yml | 0 .../arch_swap => arch/swap}/handlers/main.yml | 0 {ansible/arch_qmk => arch/swap}/meta/main.yml | 0 .../arch_swap => arch/swap}/tasks/main.yml | 0 .../arch_qmk => arch/swap}/tests/inventory | 0 .../arch_swap => arch/swap}/tests/test.yml | 0 .../arch_swap => arch/swap}/vars/main.yml | 0 .../arch_swap => arch/work_tools}/.travis.yml | 0 .../arch_ufw => arch/work_tools}/README.md | 0 arch/work_tools/defaults/main.yml | 2 + arch/work_tools/handlers/main.yml | 2 + .../work_tools}/meta/main.yml | 0 .../work_tools}/tasks/main.yml | 0 .../work_tools}/tests/inventory | 0 .../work_tools}/tests/test.yml | 2 +- arch/work_tools/vars/main.yml | 2 + 236 files changed, 444 insertions(+), 1970 deletions(-) delete mode 100644 ansible/ansible/README.md delete mode 100644 ansible/ansible/defaults/main.yml delete mode 100644 ansible/ansible/handlers/main.yml delete mode 100644 ansible/ansible/tasks/main.yml delete mode 100644 ansible/ansible/vars/main.yml delete mode 100644 ansible/arch_appimage/defaults/main.yml delete mode 100644 ansible/arch_appimage/handlers/main.yml delete mode 100644 ansible/arch_appimage/tasks/main.yml delete mode 100644 ansible/arch_appimage/vars/main.yml delete mode 100644 ansible/arch_bluetooth/defaults/main.yml delete mode 100644 ansible/arch_bluetooth/handlers/main.yml delete mode 100644 ansible/arch_bluetooth/tasks/main.yml delete mode 100644 ansible/arch_bluetooth/vars/main.yml delete mode 100644 ansible/arch_citrix/defaults/main.yml delete mode 100644 ansible/arch_citrix/handlers/main.yml delete mode 100644 ansible/arch_citrix/vars/main.yml delete mode 100644 ansible/arch_docker/defaults/main.yml delete mode 100644 ansible/arch_docker/handlers/main.yml delete mode 100644 ansible/arch_docker/tasks/main.yml delete mode 100644 ansible/arch_docker/tests/test.yml delete mode 100644 ansible/arch_docker/vars/main.yml delete mode 100644 ansible/arch_qmk/defaults/main.yml delete mode 100644 ansible/arch_qmk/handlers/main.yml delete mode 100644 ansible/arch_qmk/tasks/main.yml delete mode 100644 ansible/arch_qmk/tests/test.yml delete mode 100644 ansible/arch_qmk/vars/main.yml delete mode 100644 ansible/arch_ufw/.travis.yml delete mode 100644 ansible/arch_ufw/defaults/main.yml delete mode 100644 ansible/arch_ufw/handlers/main.yml delete mode 100644 ansible/arch_ufw/meta/main.yml delete mode 100644 ansible/arch_ufw/tasks/main.yml delete mode 100644 ansible/arch_ufw/tests/inventory delete mode 100644 ansible/arch_ufw/tests/test.yml delete mode 100644 ansible/arch_ufw/vars/main.yml delete mode 100644 ansible/arch_wireguard/.travis.yml delete mode 100644 ansible/arch_wireguard/README.md delete mode 100644 ansible/arch_wireguard/defaults/main.yml delete mode 100644 ansible/arch_wireguard/handlers/main.yml delete mode 100644 ansible/arch_wireguard/meta/main.yml delete mode 100644 ansible/arch_wireguard/tasks/main.yml delete mode 100644 ansible/arch_wireguard/tests/inventory delete mode 100644 ansible/arch_wireguard/tests/test.yml delete mode 100644 ansible/arch_wireguard/vars/main.yml delete mode 100644 ansible/auto_cpufreq/.travis.yml delete mode 100644 ansible/auto_cpufreq/README.md delete mode 100644 ansible/auto_cpufreq/defaults/main.yml delete mode 100644 ansible/auto_cpufreq/handlers/main.yml delete mode 100644 ansible/auto_cpufreq/meta/main.yml delete mode 100644 ansible/auto_cpufreq/tasks/main.yml delete mode 100644 ansible/auto_cpufreq/tests/inventory delete mode 100644 ansible/auto_cpufreq/tests/test.yml delete mode 100644 ansible/auto_cpufreq/vars/main.yml delete mode 100644 ansible/aws_cli/.travis.yml delete mode 100644 ansible/aws_cli/README.md delete mode 100644 ansible/aws_cli/defaults/main.yml delete mode 100644 ansible/aws_cli/handlers/main.yml delete mode 100644 ansible/aws_cli/meta/main.yml delete mode 100644 ansible/aws_cli/tasks/main.yml delete mode 100644 ansible/aws_cli/tests/inventory delete mode 100644 ansible/aws_cli/tests/test.yml delete mode 100644 ansible/aws_cli/vars/main.yml delete mode 100644 ansible/dconf/.travis.yml delete mode 100644 ansible/dconf/README.md delete mode 100644 ansible/dconf/meta/main.yml delete mode 100644 ansible/dconf/tests/inventory delete mode 100644 ansible/gnome_extensions/.travis.yml delete mode 100644 ansible/gnome_extensions/README.md delete mode 100644 ansible/gnome_extensions/meta/main.yml delete mode 100644 ansible/gnome_extensions/tests/inventory delete mode 100644 ansible/hashicorp_tools/.travis.yml delete mode 100644 ansible/hashicorp_tools/README.md delete mode 100644 ansible/hashicorp_tools/defaults/main.yml delete mode 100644 ansible/hashicorp_tools/handlers/main.yml delete mode 100644 ansible/hashicorp_tools/meta/main.yml delete mode 100644 ansible/hashicorp_tools/tasks/main.yml delete mode 100644 ansible/hashicorp_tools/tests/inventory delete mode 100644 ansible/hashicorp_tools/tests/test.yml delete mode 100644 ansible/hashicorp_tools/vars/main.yml delete mode 100644 ansible/pacman_daily_drivers/.travis.yml delete mode 100644 ansible/pacman_daily_drivers/README.md delete mode 100644 ansible/pacman_daily_drivers/defaults/main.yml delete mode 100644 ansible/pacman_daily_drivers/handlers/main.yml delete mode 100644 ansible/pacman_daily_drivers/meta/main.yml delete mode 100644 ansible/pacman_daily_drivers/tasks/main.yml delete mode 100644 ansible/pacman_daily_drivers/tests/inventory delete mode 100644 ansible/pacman_daily_drivers/tests/test.yml delete mode 100644 ansible/pacman_daily_drivers/vars/main.yml delete mode 100644 ansible/pacman_system_tools/.travis.yml delete mode 100644 ansible/pacman_system_tools/README.md delete mode 100644 ansible/pacman_system_tools/defaults/main.yml delete mode 100644 ansible/pacman_system_tools/handlers/main.yml delete mode 100644 ansible/pacman_system_tools/meta/main.yml delete mode 100644 ansible/pacman_system_tools/tasks/main.yml delete mode 100644 ansible/pacman_system_tools/tests/inventory delete mode 100644 ansible/pacman_system_tools/tests/test.yml delete mode 100644 ansible/pacman_system_tools/vars/main.yml delete mode 100644 ansible/pacman_update/.travis.yml delete mode 100644 ansible/pacman_update/README.md delete mode 100644 ansible/pacman_update/defaults/main.yml delete mode 100644 ansible/pacman_update/handlers/main.yml delete mode 100644 ansible/pacman_update/meta/main.yml delete mode 100644 ansible/pacman_update/tasks/main.yml delete mode 100644 ansible/pacman_update/tests/inventory delete mode 100644 ansible/pacman_update/tests/test.yml delete mode 100644 ansible/pacman_update/vars/main.yml delete mode 100644 ansible/setup-full.yml delete mode 100644 ansible/snap_daily_drivers/.travis.yml delete mode 100644 ansible/snap_daily_drivers/README.md delete mode 100644 ansible/snap_daily_drivers/defaults/main.yml delete mode 100644 ansible/snap_daily_drivers/handlers/main.yml delete mode 100644 ansible/snap_daily_drivers/meta/main.yml delete mode 100644 ansible/snap_daily_drivers/tasks/main.yml delete mode 100644 ansible/snap_daily_drivers/tests/inventory delete mode 100644 ansible/snap_daily_drivers/tests/test.yml delete mode 100644 ansible/snap_daily_drivers/vars/main.yml delete mode 100644 ansible/yay_daily_drivers/.travis.yml delete mode 100644 ansible/yay_daily_drivers/README.md delete mode 100644 ansible/yay_daily_drivers/defaults/main.yml delete mode 100644 ansible/yay_daily_drivers/handlers/main.yml delete mode 100644 ansible/yay_daily_drivers/meta/main.yml delete mode 100644 ansible/yay_daily_drivers/tasks/main.yml delete mode 100644 ansible/yay_daily_drivers/tests/inventory delete mode 100644 ansible/yay_daily_drivers/tests/test.yml delete mode 100644 ansible/yay_daily_drivers/vars/main.yml create mode 100644 arch/backtop.yml rename {ansible/ansible => arch/btrfs_backups}/.travis.yml (100%) rename {ansible/arch_appimage => arch/btrfs_backups}/README.md (100%) rename {ansible/arch_backup => arch/btrfs_backups}/defaults/main.yml (100%) rename {ansible/arch_backup => arch/btrfs_backups}/handlers/main.yml (100%) rename {ansible/ansible => arch/btrfs_backups}/meta/main.yml (100%) rename {ansible/arch_backup => arch/btrfs_backups}/tasks/main.yml (100%) rename {ansible/arch_backup => arch/btrfs_backups}/templates/btrfs_backup.sh.j2 (100%) rename {ansible/arch_backup => arch/btrfs_backups}/templates/open_backup.sh.j2 (100%) rename {ansible/ansible => arch/btrfs_backups}/tests/inventory (100%) rename {ansible/arch_backup => arch/btrfs_backups}/tests/test.yml (100%) rename {ansible/arch_backup => arch/btrfs_backups}/vars/main.yml (100%) rename {ansible/arch_appimage => arch/daily_drivers}/.travis.yml (100%) rename {ansible/arch_backup => arch/daily_drivers}/README.md (100%) create mode 100644 arch/daily_drivers/defaults/main.yml create mode 100644 arch/daily_drivers/handlers/main.yml rename {ansible/arch_appimage => arch/daily_drivers}/meta/main.yml (100%) create mode 100644 arch/daily_drivers/tasks/main.yml rename {ansible/arch_appimage => arch/daily_drivers}/tests/inventory (100%) rename {ansible/arch_appimage => arch/daily_drivers}/tests/test.yml (67%) create mode 100644 arch/daily_drivers/vars/main.yml rename {ansible/arch_backup => arch/dconf}/.travis.yml (100%) rename {ansible/arch_bluetooth => arch/dconf}/README.md (100%) rename {ansible => arch}/dconf/defaults/main.yml (100%) rename {ansible => arch}/dconf/handlers/main.yml (100%) rename {ansible/arch_backup => arch/dconf}/meta/main.yml (100%) rename {ansible => arch}/dconf/tasks/main.yml (100%) rename {ansible/arch_backup => arch/dconf}/tests/inventory (100%) rename {ansible => arch}/dconf/tests/test.yml (100%) rename {ansible => arch}/dconf/vars/main.yml (100%) rename {ansible/arch_bluetooth => arch/developer_tools}/.travis.yml (100%) rename {ansible/arch_citrix => arch/developer_tools}/README.md (100%) create mode 100644 arch/developer_tools/defaults/main.yml create mode 100644 arch/developer_tools/handlers/main.yml rename {ansible/arch_bluetooth => arch/developer_tools}/meta/main.yml (100%) create mode 100644 arch/developer_tools/tasks/main.yml rename {ansible/arch_bluetooth => arch/developer_tools}/tests/inventory (100%) rename {ansible/arch_citrix => arch/developer_tools}/tests/test.yml (65%) create mode 100644 arch/developer_tools/vars/main.yml rename {ansible/arch_citrix => arch/dnet_ca}/.travis.yml (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/README.md (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/defaults/main.yml (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/handlers/main.yml (100%) rename {ansible/arch_citrix => arch/dnet_ca}/meta/main.yml (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/tasks/main.yml (100%) rename {ansible/arch_citrix => arch/dnet_ca}/tests/inventory (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/tests/test.yml (100%) rename {ansible/arch_dnet_ca => arch/dnet_ca}/vars/main.yml (100%) create mode 100644 arch/framework.yml rename {ansible/arch_dnet_ca => arch/gnome_extensions}/.travis.yml (100%) rename {ansible/arch_docker => arch/gnome_extensions}/README.md (100%) rename {ansible => arch}/gnome_extensions/defaults/main.yml (100%) rename {ansible => arch}/gnome_extensions/handlers/main.yml (100%) rename {ansible/arch_dnet_ca => arch/gnome_extensions}/meta/main.yml (100%) rename {ansible => arch}/gnome_extensions/tasks/main.yml (100%) rename {ansible/arch_dnet_ca => arch/gnome_extensions}/tests/inventory (100%) rename {ansible => arch}/gnome_extensions/tests/test.yml (100%) rename {ansible => arch}/gnome_extensions/vars/main.yml (100%) rename {ansible/arch_docker => arch/hardware_tools}/.travis.yml (100%) rename {ansible/arch_iscsi => arch/hardware_tools}/README.md (100%) create mode 100644 arch/hardware_tools/defaults/main.yml create mode 100644 arch/hardware_tools/handlers/main.yml rename {ansible/arch_docker => arch/hardware_tools}/meta/main.yml (100%) create mode 100644 arch/hardware_tools/tasks/main.yml rename {ansible/arch_docker => arch/hardware_tools}/tests/inventory (100%) rename {ansible/arch_bluetooth => arch/hardware_tools}/tests/test.yml (66%) create mode 100644 arch/hardware_tools/vars/main.yml rename {ansible/arch_iscsi => arch/iscsi_freenas}/.travis.yml (100%) rename {ansible/arch_minecraft => arch/iscsi_freenas}/README.md (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/defaults/main.yml (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/handlers/main.yml (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/meta/main.yml (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/tasks/main.yml (84%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/tests/inventory (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/tests/test.yml (100%) rename {ansible/arch_iscsi => arch/iscsi_freenas}/vars/main.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/.travis.yml (100%) rename {ansible/arch_openssh => arch/minecraft}/README.md (100%) rename {ansible/arch_minecraft => arch/minecraft}/defaults/main.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/handlers/main.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/meta/main.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/tasks/main.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/tests/inventory (100%) rename {ansible/arch_minecraft => arch/minecraft}/tests/test.yml (100%) rename {ansible/arch_minecraft => arch/minecraft}/vars/main.yml (100%) rename {ansible/arch_openssh => arch/openssh}/.travis.yml (100%) rename {ansible/arch_qmk => arch/openssh}/README.md (100%) rename {ansible/arch_openssh => arch/openssh}/defaults/main.yml (100%) rename {ansible/arch_openssh => arch/openssh}/handlers/main.yml (100%) rename {ansible/arch_openssh => arch/openssh}/meta/main.yml (100%) rename {ansible/arch_openssh => arch/openssh}/tasks/main.yml (84%) rename {ansible/arch_openssh => arch/openssh}/tests/inventory (100%) rename {ansible/arch_openssh => arch/openssh}/tests/test.yml (100%) rename {ansible/arch_openssh => arch/openssh}/vars/main.yml (100%) rename {ansible/arch_qmk => arch/swap}/.travis.yml (100%) rename {ansible/arch_swap => arch/swap}/README.md (100%) rename {ansible/arch_swap => arch/swap}/defaults/main.yml (100%) rename {ansible/arch_swap => arch/swap}/handlers/main.yml (100%) rename {ansible/arch_qmk => arch/swap}/meta/main.yml (100%) rename {ansible/arch_swap => arch/swap}/tasks/main.yml (100%) rename {ansible/arch_qmk => arch/swap}/tests/inventory (100%) rename {ansible/arch_swap => arch/swap}/tests/test.yml (100%) rename {ansible/arch_swap => arch/swap}/vars/main.yml (100%) rename {ansible/arch_swap => arch/work_tools}/.travis.yml (100%) rename {ansible/arch_ufw => arch/work_tools}/README.md (100%) create mode 100644 arch/work_tools/defaults/main.yml create mode 100644 arch/work_tools/handlers/main.yml rename {ansible/arch_swap => arch/work_tools}/meta/main.yml (100%) rename {ansible/arch_citrix => arch/work_tools}/tasks/main.yml (100%) rename {ansible/arch_swap => arch/work_tools}/tests/inventory (100%) rename {ansible/ansible => arch/work_tools}/tests/test.yml (70%) create mode 100644 arch/work_tools/vars/main.yml diff --git a/ansible/ansible/README.md b/ansible/ansible/README.md deleted file mode 100644 index 7f3782b..0000000 --- a/ansible/ansible/README.md +++ /dev/null @@ -1,24 +0,0 @@ -ansible -======= - -Installs ansible via pip. - -Requirements ------------- - -python, python-pip - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - role: ansible - tags: [" ansible "] - -License -------- - -BSD diff --git a/ansible/ansible/defaults/main.yml b/ansible/ansible/defaults/main.yml deleted file mode 100644 index 4f813f5..0000000 --- a/ansible/ansible/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for ansible diff --git a/ansible/ansible/handlers/main.yml b/ansible/ansible/handlers/main.yml deleted file mode 100644 index d1f2ec5..0000000 --- a/ansible/ansible/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for ansible diff --git a/ansible/ansible/tasks/main.yml b/ansible/ansible/tasks/main.yml deleted file mode 100644 index c9b7ea6..0000000 --- a/ansible/ansible/tasks/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Install ansible - pip: - name: ansible - extra_args: --user diff --git a/ansible/ansible/vars/main.yml b/ansible/ansible/vars/main.yml deleted file mode 100644 index ea51ae3..0000000 --- a/ansible/ansible/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for ansible diff --git a/ansible/arch_appimage/defaults/main.yml b/ansible/arch_appimage/defaults/main.yml deleted file mode 100644 index 3b5fcf9..0000000 --- a/ansible/arch_appimage/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_appimage diff --git a/ansible/arch_appimage/handlers/main.yml b/ansible/arch_appimage/handlers/main.yml deleted file mode 100644 index 2917e27..0000000 --- a/ansible/arch_appimage/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_appimage diff --git a/ansible/arch_appimage/tasks/main.yml b/ansible/arch_appimage/tasks/main.yml deleted file mode 100644 index 7b47170..0000000 --- a/ansible/arch_appimage/tasks/main.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# AppImage Launcher -- name: Ensure appimagelauncher installed - community.general.pacman: - name: appimagelauncher - state: present - become: yes -- name: Ensure Applications directory - file: - path: ~/Applications - state: directory diff --git a/ansible/arch_appimage/vars/main.yml b/ansible/arch_appimage/vars/main.yml deleted file mode 100644 index 650baef..0000000 --- a/ansible/arch_appimage/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_appimage diff --git a/ansible/arch_bluetooth/defaults/main.yml b/ansible/arch_bluetooth/defaults/main.yml deleted file mode 100644 index f04a7c7..0000000 --- a/ansible/arch_bluetooth/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_bluetooth diff --git a/ansible/arch_bluetooth/handlers/main.yml b/ansible/arch_bluetooth/handlers/main.yml deleted file mode 100644 index 80c7347..0000000 --- a/ansible/arch_bluetooth/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_bluetooth diff --git a/ansible/arch_bluetooth/tasks/main.yml b/ansible/arch_bluetooth/tasks/main.yml deleted file mode 100644 index eccb63c..0000000 --- a/ansible/arch_bluetooth/tasks/main.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# Bluetooth -- name: Ensure bluetooth installed and configured - community.general.pacman: - name: - - bluez - - bluez-utils - state: present - become: yes -- name: Ensure bluetooth service started - ansible.builtin.systemd: - name: bluetooth - state: started - enabled: yes - become: yes diff --git a/ansible/arch_bluetooth/vars/main.yml b/ansible/arch_bluetooth/vars/main.yml deleted file mode 100644 index 6ca40f2..0000000 --- a/ansible/arch_bluetooth/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_bluetooth diff --git a/ansible/arch_citrix/defaults/main.yml b/ansible/arch_citrix/defaults/main.yml deleted file mode 100644 index 0a903af..0000000 --- a/ansible/arch_citrix/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_citrix diff --git a/ansible/arch_citrix/handlers/main.yml b/ansible/arch_citrix/handlers/main.yml deleted file mode 100644 index ca6fc3f..0000000 --- a/ansible/arch_citrix/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_citrix diff --git a/ansible/arch_citrix/vars/main.yml b/ansible/arch_citrix/vars/main.yml deleted file mode 100644 index 25fc97b..0000000 --- a/ansible/arch_citrix/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_citrix diff --git a/ansible/arch_docker/defaults/main.yml b/ansible/arch_docker/defaults/main.yml deleted file mode 100644 index bf2f046..0000000 --- a/ansible/arch_docker/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_docker diff --git a/ansible/arch_docker/handlers/main.yml b/ansible/arch_docker/handlers/main.yml deleted file mode 100644 index 143f245..0000000 --- a/ansible/arch_docker/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_docker diff --git a/ansible/arch_docker/tasks/main.yml b/ansible/arch_docker/tasks/main.yml deleted file mode 100644 index 525ce71..0000000 --- a/ansible/arch_docker/tasks/main.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# Docker -- name: Ensure docker installed - community.general.pacman: - name: - - docker - - docker-compose - state: present - become: yes -- name: Ensure ducoterra in the "docker" group - ansible.builtin.user: - name: ducoterra - groups: docker - append: yes - become: yes diff --git a/ansible/arch_docker/tests/test.yml b/ansible/arch_docker/tests/test.yml deleted file mode 100644 index 647a0cb..0000000 --- a/ansible/arch_docker/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - arch_docker diff --git a/ansible/arch_docker/vars/main.yml b/ansible/arch_docker/vars/main.yml deleted file mode 100644 index 2802c2c..0000000 --- a/ansible/arch_docker/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_docker diff --git a/ansible/arch_qmk/defaults/main.yml b/ansible/arch_qmk/defaults/main.yml deleted file mode 100644 index 8b63341..0000000 --- a/ansible/arch_qmk/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_qmk diff --git a/ansible/arch_qmk/handlers/main.yml b/ansible/arch_qmk/handlers/main.yml deleted file mode 100644 index 60ce419..0000000 --- a/ansible/arch_qmk/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_qmk diff --git a/ansible/arch_qmk/tasks/main.yml b/ansible/arch_qmk/tasks/main.yml deleted file mode 100644 index de3df9c..0000000 --- a/ansible/arch_qmk/tasks/main.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# QMK -- name: Ensure qmk installed - community.general.pacman: - name: qmk - state: present - become: yes -- name: Run qmk setup - ansible.builtin.command: qmk setup -y - become: yes -- name: Copy qmk udev rules - ansible.builtin.copy: - src: ~/qmk_firmware/util/udev/50-qmk.rules - dest: /etc/udev/rules.d/50-qmk.rules - owner: ducoterra - group: root - mode: '0755' - become: yes diff --git a/ansible/arch_qmk/tests/test.yml b/ansible/arch_qmk/tests/test.yml deleted file mode 100644 index e20b423..0000000 --- a/ansible/arch_qmk/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - arch_qmk diff --git a/ansible/arch_qmk/vars/main.yml b/ansible/arch_qmk/vars/main.yml deleted file mode 100644 index 9a8ce65..0000000 --- a/ansible/arch_qmk/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_qmk diff --git a/ansible/arch_ufw/.travis.yml b/ansible/arch_ufw/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/arch_ufw/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/arch_ufw/defaults/main.yml b/ansible/arch_ufw/defaults/main.yml deleted file mode 100644 index 84aeb23..0000000 --- a/ansible/arch_ufw/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_ufw diff --git a/ansible/arch_ufw/handlers/main.yml b/ansible/arch_ufw/handlers/main.yml deleted file mode 100644 index d99f258..0000000 --- a/ansible/arch_ufw/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_ufw diff --git a/ansible/arch_ufw/meta/main.yml b/ansible/arch_ufw/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/arch_ufw/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/arch_ufw/tasks/main.yml b/ansible/arch_ufw/tasks/main.yml deleted file mode 100644 index 476fbed..0000000 --- a/ansible/arch_ufw/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# UFW -- name: Ensure UFW installed - community.general.pacman: - name: ufw - state: present - become: yes -- name: Enable UFW - community.general.ufw: - state: enabled - become: yes -- name: Allow SSH - community.general.ufw: - rule: allow - name: ssh - become: yes diff --git a/ansible/arch_ufw/tests/inventory b/ansible/arch_ufw/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/arch_ufw/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/arch_ufw/tests/test.yml b/ansible/arch_ufw/tests/test.yml deleted file mode 100644 index 15a0256..0000000 --- a/ansible/arch_ufw/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - arch_ufw diff --git a/ansible/arch_ufw/vars/main.yml b/ansible/arch_ufw/vars/main.yml deleted file mode 100644 index 1a164a7..0000000 --- a/ansible/arch_ufw/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_ufw diff --git a/ansible/arch_wireguard/.travis.yml b/ansible/arch_wireguard/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/arch_wireguard/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/arch_wireguard/README.md b/ansible/arch_wireguard/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/arch_wireguard/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/arch_wireguard/defaults/main.yml b/ansible/arch_wireguard/defaults/main.yml deleted file mode 100644 index 9bbf0e0..0000000 --- a/ansible/arch_wireguard/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for ansible/arch_wireguard diff --git a/ansible/arch_wireguard/handlers/main.yml b/ansible/arch_wireguard/handlers/main.yml deleted file mode 100644 index cffbac0..0000000 --- a/ansible/arch_wireguard/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for ansible/arch_wireguard diff --git a/ansible/arch_wireguard/meta/main.yml b/ansible/arch_wireguard/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/arch_wireguard/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/arch_wireguard/tasks/main.yml b/ansible/arch_wireguard/tasks/main.yml deleted file mode 100644 index 0bc21ee..0000000 --- a/ansible/arch_wireguard/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Wireguard Configuration -- name: Ensure wireguard-tools installed - community.general.pacman: - name: wireguard-tools - state: present - become: yes -- name: Ensure /etc/wireguard directory - file: - path: /etc/wireguard - state: directory - become: yes diff --git a/ansible/arch_wireguard/tests/inventory b/ansible/arch_wireguard/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/arch_wireguard/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/arch_wireguard/tests/test.yml b/ansible/arch_wireguard/tests/test.yml deleted file mode 100644 index 69bd552..0000000 --- a/ansible/arch_wireguard/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - ansible/arch_wireguard diff --git a/ansible/arch_wireguard/vars/main.yml b/ansible/arch_wireguard/vars/main.yml deleted file mode 100644 index 37cfe97..0000000 --- a/ansible/arch_wireguard/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for ansible/arch_wireguard diff --git a/ansible/auto_cpufreq/.travis.yml b/ansible/auto_cpufreq/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/auto_cpufreq/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/auto_cpufreq/README.md b/ansible/auto_cpufreq/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/auto_cpufreq/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/auto_cpufreq/defaults/main.yml b/ansible/auto_cpufreq/defaults/main.yml deleted file mode 100644 index 2fe5966..0000000 --- a/ansible/auto_cpufreq/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for ansible/auto_cpufreq diff --git a/ansible/auto_cpufreq/handlers/main.yml b/ansible/auto_cpufreq/handlers/main.yml deleted file mode 100644 index 5f6f05f..0000000 --- a/ansible/auto_cpufreq/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for ansible/auto_cpufreq diff --git a/ansible/auto_cpufreq/meta/main.yml b/ansible/auto_cpufreq/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/auto_cpufreq/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/auto_cpufreq/tasks/main.yml b/ansible/auto_cpufreq/tasks/main.yml deleted file mode 100644 index ca3e85f..0000000 --- a/ansible/auto_cpufreq/tasks/main.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Ensure snap installed - community.general.pacman: - name: snapd - state: present - become: yes -- name: Ensure snapd service running - ansible.builtin.systemd: - name: snapd.socket - state: started - enabled: yes - become: yes -- name: Uninstall tlp - community.general.pacman: - name: tlp - state: absent - become: yes -- name: Install auto-cpufreq - community.general.snap: - name: auto-cpufreq - state: present - become: yes -- name: Enable auto-cpufreq - command: auto-cpufreq --install - become: yes diff --git a/ansible/auto_cpufreq/tests/inventory b/ansible/auto_cpufreq/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/auto_cpufreq/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/auto_cpufreq/tests/test.yml b/ansible/auto_cpufreq/tests/test.yml deleted file mode 100644 index 113451c..0000000 --- a/ansible/auto_cpufreq/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - ansible/auto_cpufreq diff --git a/ansible/auto_cpufreq/vars/main.yml b/ansible/auto_cpufreq/vars/main.yml deleted file mode 100644 index 57dec22..0000000 --- a/ansible/auto_cpufreq/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for ansible/auto_cpufreq diff --git a/ansible/aws_cli/.travis.yml b/ansible/aws_cli/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/aws_cli/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/aws_cli/README.md b/ansible/aws_cli/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/aws_cli/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/aws_cli/defaults/main.yml b/ansible/aws_cli/defaults/main.yml deleted file mode 100644 index 8cc745e..0000000 --- a/ansible/aws_cli/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for aws_cli diff --git a/ansible/aws_cli/handlers/main.yml b/ansible/aws_cli/handlers/main.yml deleted file mode 100644 index b5f09bb..0000000 --- a/ansible/aws_cli/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for aws_cli diff --git a/ansible/aws_cli/meta/main.yml b/ansible/aws_cli/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/aws_cli/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/aws_cli/tasks/main.yml b/ansible/aws_cli/tasks/main.yml deleted file mode 100644 index 2e53da9..0000000 --- a/ansible/aws_cli/tasks/main.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# AWS CLI -- name: Download awscli v2 installer - latest version - unarchive: - src: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip - dest: '{{ executable_temp_dir }}' - remote_src: true - creates: '{{ executable_temp_dir }}/aws' - mode: 0755 - when: awscli_version is not defined - tags: ["awscli", "awscliv2"] -- name: Download awscli v2 installer - specific version {{ awscli_version }} - unarchive: - src: 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64-{{ awscli_version }}.zip' - dest: "{{ executable_temp_dir }}" - remote_src: true - creates: '{{ executable_temp_dir }}/aws' - mode: 0755 - when: awscli_version is defined - tags: ["awscli", "awscliv2"] -- name: Run the installer for awscli v2 - command: - args: - cmd: '{{ executable_temp_dir }}/aws/install -i {{ awscli_install_dir }} -b /usr/local/bin' - creates: /usr/local/bin/aws - become: yes - tags: ["awscli", "awscliv2"] diff --git a/ansible/aws_cli/tests/inventory b/ansible/aws_cli/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/aws_cli/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/aws_cli/tests/test.yml b/ansible/aws_cli/tests/test.yml deleted file mode 100644 index 9095750..0000000 --- a/ansible/aws_cli/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - aws_cli diff --git a/ansible/aws_cli/vars/main.yml b/ansible/aws_cli/vars/main.yml deleted file mode 100644 index d02874c..0000000 --- a/ansible/aws_cli/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for aws_cli diff --git a/ansible/dconf/.travis.yml b/ansible/dconf/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/dconf/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/dconf/README.md b/ansible/dconf/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/dconf/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/dconf/meta/main.yml b/ansible/dconf/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/dconf/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/dconf/tests/inventory b/ansible/dconf/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/dconf/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/gnome_extensions/.travis.yml b/ansible/gnome_extensions/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/gnome_extensions/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/gnome_extensions/README.md b/ansible/gnome_extensions/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/gnome_extensions/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/gnome_extensions/meta/main.yml b/ansible/gnome_extensions/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/gnome_extensions/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/gnome_extensions/tests/inventory b/ansible/gnome_extensions/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/gnome_extensions/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/hashicorp_tools/.travis.yml b/ansible/hashicorp_tools/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/hashicorp_tools/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/hashicorp_tools/README.md b/ansible/hashicorp_tools/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/hashicorp_tools/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/hashicorp_tools/defaults/main.yml b/ansible/hashicorp_tools/defaults/main.yml deleted file mode 100644 index c124169..0000000 --- a/ansible/hashicorp_tools/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for vault_cli diff --git a/ansible/hashicorp_tools/handlers/main.yml b/ansible/hashicorp_tools/handlers/main.yml deleted file mode 100644 index 34a6494..0000000 --- a/ansible/hashicorp_tools/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for vault_cli diff --git a/ansible/hashicorp_tools/meta/main.yml b/ansible/hashicorp_tools/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/hashicorp_tools/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/hashicorp_tools/tasks/main.yml b/ansible/hashicorp_tools/tasks/main.yml deleted file mode 100644 index 829332c..0000000 --- a/ansible/hashicorp_tools/tasks/main.yml +++ /dev/null @@ -1,49 +0,0 @@ ---- -# Vault CLI -- name: Download vault binary - unarchive: - src: https://releases.hashicorp.com/vault/{{vault_version}}/vault_{{vault_version}}_linux_amd64.zip - dest: '{{ executable_temp_dir }}' - remote_src: true - creates: '{{ executable_temp_dir }}/vault' - mode: 0755 -- name: Move vault binary to /usr/local/bin - ansible.builtin.copy: - src: '{{ executable_temp_dir }}/vault' - dest: /usr/local/bin/vault - owner: root - group: root - mode: '0755' - become: yes -# Terraform CLI -- name: Download vault binary - unarchive: - src: https://releases.hashicorp.com/terraform/{{tf_version}}/terraform_{{tf_version}}_linux_amd64.zip - dest: '{{ executable_temp_dir }}' - remote_src: true - creates: '{{ executable_temp_dir }}/terraform' - mode: 0755 -- name: Move terraform binary to /usr/local/bin - ansible.builtin.copy: - src: '{{ executable_temp_dir }}/terraform' - dest: /usr/local/bin/terraform - owner: root - group: root - mode: '0755' - become: yes -# Packer CLI -- name: Download packer binary - unarchive: - src: https://releases.hashicorp.com/packer/{{packer_version}}/packer_{{packer_version}}_linux_amd64.zip - dest: '{{ executable_temp_dir }}' - remote_src: true - creates: '{{ executable_temp_dir }}/packer' - mode: 0755 -- name: Move packer binary to /usr/local/bin - ansible.builtin.copy: - src: '{{ executable_temp_dir }}/packer' - dest: /usr/local/bin/packer - owner: root - group: root - mode: '0755' - become: yes diff --git a/ansible/hashicorp_tools/tests/inventory b/ansible/hashicorp_tools/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/hashicorp_tools/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/hashicorp_tools/tests/test.yml b/ansible/hashicorp_tools/tests/test.yml deleted file mode 100644 index 244e19c..0000000 --- a/ansible/hashicorp_tools/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - hashicorp_tools diff --git a/ansible/hashicorp_tools/vars/main.yml b/ansible/hashicorp_tools/vars/main.yml deleted file mode 100644 index 11d67ef..0000000 --- a/ansible/hashicorp_tools/vars/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# vars file for vault_cli -vault_version: 1.9.3 -tf_version: 1.1.5 -packer_version: 1.7.10 diff --git a/ansible/pacman_daily_drivers/.travis.yml b/ansible/pacman_daily_drivers/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/pacman_daily_drivers/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/pacman_daily_drivers/README.md b/ansible/pacman_daily_drivers/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/pacman_daily_drivers/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/pacman_daily_drivers/defaults/main.yml b/ansible/pacman_daily_drivers/defaults/main.yml deleted file mode 100644 index c76e9bc..0000000 --- a/ansible/pacman_daily_drivers/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for pacman_daily_drivers diff --git a/ansible/pacman_daily_drivers/handlers/main.yml b/ansible/pacman_daily_drivers/handlers/main.yml deleted file mode 100644 index 531051b..0000000 --- a/ansible/pacman_daily_drivers/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for pacman_daily_drivers diff --git a/ansible/pacman_daily_drivers/meta/main.yml b/ansible/pacman_daily_drivers/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/pacman_daily_drivers/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/pacman_daily_drivers/tasks/main.yml b/ansible/pacman_daily_drivers/tasks/main.yml deleted file mode 100644 index e273c60..0000000 --- a/ansible/pacman_daily_drivers/tasks/main.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# Daily Driver Tools -- name: Ensure daily-driver (development, work, gaming) installed - community.general.pacman: - name: - - vim - - chromium - - steam-manjaro - - steam-native - - discord - - geary - - wine - - winetricks - - wine-mono - - wine_gecko - - iputils - - dnsutils - - iperf3 - - remmina - - freerdp - - kubectl - - helm - - python - - python-pip - - make - - vlc - - seahorse # gnome keyring manager - - gimp - - libreoffice-fresh - state: present - become: yes diff --git a/ansible/pacman_daily_drivers/tests/inventory b/ansible/pacman_daily_drivers/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/pacman_daily_drivers/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/pacman_daily_drivers/tests/test.yml b/ansible/pacman_daily_drivers/tests/test.yml deleted file mode 100644 index cbdfbb7..0000000 --- a/ansible/pacman_daily_drivers/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - pacman_daily_drivers diff --git a/ansible/pacman_daily_drivers/vars/main.yml b/ansible/pacman_daily_drivers/vars/main.yml deleted file mode 100644 index 3dda52c..0000000 --- a/ansible/pacman_daily_drivers/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for pacman_daily_drivers diff --git a/ansible/pacman_system_tools/.travis.yml b/ansible/pacman_system_tools/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/pacman_system_tools/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/pacman_system_tools/README.md b/ansible/pacman_system_tools/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/pacman_system_tools/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/pacman_system_tools/defaults/main.yml b/ansible/pacman_system_tools/defaults/main.yml deleted file mode 100644 index 43fc38d..0000000 --- a/ansible/pacman_system_tools/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for pacman_system_tools diff --git a/ansible/pacman_system_tools/handlers/main.yml b/ansible/pacman_system_tools/handlers/main.yml deleted file mode 100644 index 37e4ac1..0000000 --- a/ansible/pacman_system_tools/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for pacman_system_tools diff --git a/ansible/pacman_system_tools/meta/main.yml b/ansible/pacman_system_tools/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/pacman_system_tools/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/pacman_system_tools/tasks/main.yml b/ansible/pacman_system_tools/tasks/main.yml deleted file mode 100644 index a1e1a22..0000000 --- a/ansible/pacman_system_tools/tasks/main.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# System Tools -- name: Ensure system-level tools (device management stuff) installed - community.general.pacman: - name: - - grub - - glances - - htop - - curl - - wget - - dconf-editor - - yay - - unzip - state: present - become: yes diff --git a/ansible/pacman_system_tools/tests/inventory b/ansible/pacman_system_tools/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/pacman_system_tools/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/pacman_system_tools/tests/test.yml b/ansible/pacman_system_tools/tests/test.yml deleted file mode 100644 index 434aad2..0000000 --- a/ansible/pacman_system_tools/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - pacman_system_tools diff --git a/ansible/pacman_system_tools/vars/main.yml b/ansible/pacman_system_tools/vars/main.yml deleted file mode 100644 index 3300ac0..0000000 --- a/ansible/pacman_system_tools/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for pacman_system_tools diff --git a/ansible/pacman_update/.travis.yml b/ansible/pacman_update/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/pacman_update/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/pacman_update/README.md b/ansible/pacman_update/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/pacman_update/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/pacman_update/defaults/main.yml b/ansible/pacman_update/defaults/main.yml deleted file mode 100644 index ed97d53..0000000 --- a/ansible/pacman_update/defaults/main.yml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/ansible/pacman_update/handlers/main.yml b/ansible/pacman_update/handlers/main.yml deleted file mode 100644 index 3991016..0000000 --- a/ansible/pacman_update/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for pacman-update diff --git a/ansible/pacman_update/meta/main.yml b/ansible/pacman_update/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/pacman_update/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/pacman_update/tasks/main.yml b/ansible/pacman_update/tasks/main.yml deleted file mode 100644 index 25bd6c6..0000000 --- a/ansible/pacman_update/tasks/main.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# Sync and update Pacman -- name: Sync and update Pacman - community.general.pacman: - update_cache: yes - upgrade: yes - become: yes - tags: update diff --git a/ansible/pacman_update/tests/inventory b/ansible/pacman_update/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/pacman_update/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/pacman_update/tests/test.yml b/ansible/pacman_update/tests/test.yml deleted file mode 100644 index 8b95331..0000000 --- a/ansible/pacman_update/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - pacman_update diff --git a/ansible/pacman_update/vars/main.yml b/ansible/pacman_update/vars/main.yml deleted file mode 100644 index d4b27e0..0000000 --- a/ansible/pacman_update/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for pacman-update diff --git a/ansible/setup-full.yml b/ansible/setup-full.yml deleted file mode 100644 index 19e61b5..0000000 --- a/ansible/setup-full.yml +++ /dev/null @@ -1,82 +0,0 @@ ---- -# Run through all tasks to setup machines - -- hosts: localhost - gather_facts: true - order: inventory - vars: - executable_temp_dir: /tmp - awscli_install_dir: /opt/aws-cli/ - vault_version: 1.9.3 - swap_file_path: /swap/swapfile - swap_file_size_mb: 4096 - - roles: - - role: pacman_update - tags: ["pacman"] - - - role: pacman_system_tools - tags: ["pacman"] - - - role: pacman_daily_drivers - tags: ["pacman"] - - - role: yay_daily_drivers - tags: ["yay"] - - - role: snap_daily_drivers - tags: ["snap"] - - - role: arch_openssh - tags: ["ssh"] - - - role: arch_ufw - tags: ["ufw"] - - - role: arch_wireguard - tags: ["wireguard"] - - - role: arch_bluetooth - tags: ["bluetooth"] - - - role: arch_dnet_ca - tags: ["dnet"] - - - role: arch_iscsi - tags: ["iscsi"] - - - role: dconf - tags: ["dconf"] - - - role: gnome_extensions - tags: ["gnome"] - - - role: arch_appimage - tags: ["appimage"] - - - role: arch_docker - tags: ["docker"] - - - role: ansible - tags: ["ansble"] - - - role: arch_qmk - tags: ["qmk"] - - - role: aws_cli - tags: ["aws"] - - - role: hashicorp_tools - tags: ["hashicorp"] - - - role: arch_swap - tags: ["swap"] - - - role: arch_minecraft - tags: ["minecraft"] - - - role: arch_citrix - tags: ["citrix"] - - - role: arch_backup - tags: ["backup"] diff --git a/ansible/snap_daily_drivers/.travis.yml b/ansible/snap_daily_drivers/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/snap_daily_drivers/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/snap_daily_drivers/README.md b/ansible/snap_daily_drivers/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/snap_daily_drivers/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/snap_daily_drivers/defaults/main.yml b/ansible/snap_daily_drivers/defaults/main.yml deleted file mode 100644 index bbd7f99..0000000 --- a/ansible/snap_daily_drivers/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for arch_snap diff --git a/ansible/snap_daily_drivers/handlers/main.yml b/ansible/snap_daily_drivers/handlers/main.yml deleted file mode 100644 index 26eda95..0000000 --- a/ansible/snap_daily_drivers/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for arch_snap diff --git a/ansible/snap_daily_drivers/meta/main.yml b/ansible/snap_daily_drivers/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/snap_daily_drivers/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/snap_daily_drivers/tasks/main.yml b/ansible/snap_daily_drivers/tasks/main.yml deleted file mode 100644 index 8ecb561..0000000 --- a/ansible/snap_daily_drivers/tasks/main.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -# Snap Installs -- name: Ensure snap installed - community.general.pacman: - name: snapd - state: present - become: yes -- name: Ensure snapd service running - ansible.builtin.systemd: - name: snapd.socket - state: started - enabled: yes - become: yes -- name: Link /var/lib/snapd/snap /snap - ansible.builtin.file: - src: /var/lib/snapd/snap - dest: /snap - owner: root - group: root - state: link - become: yes -- name: Install snap-store - community.general.snap: - name: snap-store - state: present - become: yes - retries: 6 - delay: 10 -- name: Install spotify - community.general.snap: - name: spotify - state: present - become: yes -- name: Install yq - community.general.snap: - name: yq - state: present - become: yes diff --git a/ansible/snap_daily_drivers/tests/inventory b/ansible/snap_daily_drivers/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/snap_daily_drivers/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/snap_daily_drivers/tests/test.yml b/ansible/snap_daily_drivers/tests/test.yml deleted file mode 100644 index 36544f5..0000000 --- a/ansible/snap_daily_drivers/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - snap_daily_drivers diff --git a/ansible/snap_daily_drivers/vars/main.yml b/ansible/snap_daily_drivers/vars/main.yml deleted file mode 100644 index 6bf7e3d..0000000 --- a/ansible/snap_daily_drivers/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for arch_snap diff --git a/ansible/yay_daily_drivers/.travis.yml b/ansible/yay_daily_drivers/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/ansible/yay_daily_drivers/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/ansible/yay_daily_drivers/README.md b/ansible/yay_daily_drivers/README.md deleted file mode 100644 index 225dd44..0000000 --- a/ansible/yay_daily_drivers/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/ansible/yay_daily_drivers/defaults/main.yml b/ansible/yay_daily_drivers/defaults/main.yml deleted file mode 100644 index c3369db..0000000 --- a/ansible/yay_daily_drivers/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for yay_daily_drivers diff --git a/ansible/yay_daily_drivers/handlers/main.yml b/ansible/yay_daily_drivers/handlers/main.yml deleted file mode 100644 index b62dadb..0000000 --- a/ansible/yay_daily_drivers/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for yay_daily_drivers diff --git a/ansible/yay_daily_drivers/meta/main.yml b/ansible/yay_daily_drivers/meta/main.yml deleted file mode 100644 index c572acc..0000000 --- a/ansible/yay_daily_drivers/meta/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.1 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/ansible/yay_daily_drivers/tasks/main.yml b/ansible/yay_daily_drivers/tasks/main.yml deleted file mode 100644 index 507011c..0000000 --- a/ansible/yay_daily_drivers/tasks/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- name: Install vscode - command: yay -S visual-studio-code-bin --noconfirm diff --git a/ansible/yay_daily_drivers/tests/inventory b/ansible/yay_daily_drivers/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/ansible/yay_daily_drivers/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/ansible/yay_daily_drivers/tests/test.yml b/ansible/yay_daily_drivers/tests/test.yml deleted file mode 100644 index b0da9ec..0000000 --- a/ansible/yay_daily_drivers/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - yay_daily_drivers diff --git a/ansible/yay_daily_drivers/vars/main.yml b/ansible/yay_daily_drivers/vars/main.yml deleted file mode 100644 index 4b5546a..0000000 --- a/ansible/yay_daily_drivers/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for yay_daily_drivers diff --git a/arch/backtop.yml b/arch/backtop.yml new file mode 100644 index 0000000..953fb95 --- /dev/null +++ b/arch/backtop.yml @@ -0,0 +1,34 @@ +--- +# Run through all tasks to setup machines + +- hosts: localhost + gather_facts: true + order: inventory + vars: + executable_temp_dir: /tmp + awscli_install_dir: /opt/aws-cli/ + vault_version: 1.9.3 + swap_file_path: /swap/swapfile + swap_file_size_mb: 8192 + + roles: + - role: dconf + tags: ["dconf"] + + - role: developer_tools + tags: ["developer_tools"] + + - role: dnet_ca + tags: ["dnet_ca"] + + - role: hardware_tools + tags: ["hardware_tools"] + + - role: iscsi_freenas + tags: ["iscsi_freenas"] + + - role: openssh + tags: ["openssh"] + + - role: swap + tags: ["swap"] diff --git a/ansible/ansible/.travis.yml b/arch/btrfs_backups/.travis.yml similarity index 100% rename from ansible/ansible/.travis.yml rename to arch/btrfs_backups/.travis.yml diff --git a/ansible/arch_appimage/README.md b/arch/btrfs_backups/README.md similarity index 100% rename from ansible/arch_appimage/README.md rename to arch/btrfs_backups/README.md diff --git a/ansible/arch_backup/defaults/main.yml b/arch/btrfs_backups/defaults/main.yml similarity index 100% rename from ansible/arch_backup/defaults/main.yml rename to arch/btrfs_backups/defaults/main.yml diff --git a/ansible/arch_backup/handlers/main.yml b/arch/btrfs_backups/handlers/main.yml similarity index 100% rename from ansible/arch_backup/handlers/main.yml rename to arch/btrfs_backups/handlers/main.yml diff --git a/ansible/ansible/meta/main.yml b/arch/btrfs_backups/meta/main.yml similarity index 100% rename from ansible/ansible/meta/main.yml rename to arch/btrfs_backups/meta/main.yml diff --git a/ansible/arch_backup/tasks/main.yml b/arch/btrfs_backups/tasks/main.yml similarity index 100% rename from ansible/arch_backup/tasks/main.yml rename to arch/btrfs_backups/tasks/main.yml diff --git a/ansible/arch_backup/templates/btrfs_backup.sh.j2 b/arch/btrfs_backups/templates/btrfs_backup.sh.j2 similarity index 100% rename from ansible/arch_backup/templates/btrfs_backup.sh.j2 rename to arch/btrfs_backups/templates/btrfs_backup.sh.j2 diff --git a/ansible/arch_backup/templates/open_backup.sh.j2 b/arch/btrfs_backups/templates/open_backup.sh.j2 similarity index 100% rename from ansible/arch_backup/templates/open_backup.sh.j2 rename to arch/btrfs_backups/templates/open_backup.sh.j2 diff --git a/ansible/ansible/tests/inventory b/arch/btrfs_backups/tests/inventory similarity index 100% rename from ansible/ansible/tests/inventory rename to arch/btrfs_backups/tests/inventory diff --git a/ansible/arch_backup/tests/test.yml b/arch/btrfs_backups/tests/test.yml similarity index 100% rename from ansible/arch_backup/tests/test.yml rename to arch/btrfs_backups/tests/test.yml diff --git a/ansible/arch_backup/vars/main.yml b/arch/btrfs_backups/vars/main.yml similarity index 100% rename from ansible/arch_backup/vars/main.yml rename to arch/btrfs_backups/vars/main.yml diff --git a/ansible/arch_appimage/.travis.yml b/arch/daily_drivers/.travis.yml similarity index 100% rename from ansible/arch_appimage/.travis.yml rename to arch/daily_drivers/.travis.yml diff --git a/ansible/arch_backup/README.md b/arch/daily_drivers/README.md similarity index 100% rename from ansible/arch_backup/README.md rename to arch/daily_drivers/README.md diff --git a/arch/daily_drivers/defaults/main.yml b/arch/daily_drivers/defaults/main.yml new file mode 100644 index 0000000..2e97c08 --- /dev/null +++ b/arch/daily_drivers/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for arch/daily_drivers diff --git a/arch/daily_drivers/handlers/main.yml b/arch/daily_drivers/handlers/main.yml new file mode 100644 index 0000000..e584df3 --- /dev/null +++ b/arch/daily_drivers/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for arch/daily_drivers diff --git a/ansible/arch_appimage/meta/main.yml b/arch/daily_drivers/meta/main.yml similarity index 100% rename from ansible/arch_appimage/meta/main.yml rename to arch/daily_drivers/meta/main.yml diff --git a/arch/daily_drivers/tasks/main.yml b/arch/daily_drivers/tasks/main.yml new file mode 100644 index 0000000..f73e527 --- /dev/null +++ b/arch/daily_drivers/tasks/main.yml @@ -0,0 +1,82 @@ +--- +# Sync and update Pacman +- name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + tags: update +# Install Pacman-based daily drivers +- name: Ensure daily-driver (development, work, gaming) installed + community.general.pacman: + name: + - remmina + - freerdp + - chromium + - steam-manjaro + - steam-native + - discord + - geary + - make + - vlc + - seahorse # gnome keyring manager + - gimp + - libreoffice-fresh + state: present + become: yes +# Install snap-based daily-drivers +- name: Ensure snap installed + community.general.pacman: + name: snapd + state: present + become: yes +- name: Ensure snapd service running + ansible.builtin.systemd: + name: snapd.socket + state: started + enabled: yes + become: yes +- name: Link /var/lib/snapd/snap /snap + ansible.builtin.file: + src: /var/lib/snapd/snap + dest: /snap + owner: root + group: root + state: link + become: yes +- name: Install snap packages + community.general.snap: + name: + - snap-store + - spotify + state: present + become: yes + retries: 6 + delay: 10 +# AppImage Launcher +- name: Ensure appimagelauncher installed + community.general.pacman: + name: appimagelauncher + state: present + become: yes +- name: Ensure Applications directory + file: + path: ~/Applications + state: directory +# QMK +- name: Ensure qmk installed + community.general.pacman: + name: qmk + state: present + become: yes +- name: Run qmk setup + ansible.builtin.command: qmk setup -y + become: yes +- name: Copy qmk udev rules + ansible.builtin.copy: + src: ~/qmk_firmware/util/udev/50-qmk.rules + dest: /etc/udev/rules.d/50-qmk.rules + owner: ducoterra + group: root + mode: '0755' + become: yes diff --git a/ansible/arch_appimage/tests/inventory b/arch/daily_drivers/tests/inventory similarity index 100% rename from ansible/arch_appimage/tests/inventory rename to arch/daily_drivers/tests/inventory diff --git a/ansible/arch_appimage/tests/test.yml b/arch/daily_drivers/tests/test.yml similarity index 67% rename from ansible/arch_appimage/tests/test.yml rename to arch/daily_drivers/tests/test.yml index b4b37e3..908e523 100644 --- a/ansible/arch_appimage/tests/test.yml +++ b/arch/daily_drivers/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - arch_appimage + - arch/daily_drivers diff --git a/arch/daily_drivers/vars/main.yml b/arch/daily_drivers/vars/main.yml new file mode 100644 index 0000000..de38423 --- /dev/null +++ b/arch/daily_drivers/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for arch/daily_drivers diff --git a/ansible/arch_backup/.travis.yml b/arch/dconf/.travis.yml similarity index 100% rename from ansible/arch_backup/.travis.yml rename to arch/dconf/.travis.yml diff --git a/ansible/arch_bluetooth/README.md b/arch/dconf/README.md similarity index 100% rename from ansible/arch_bluetooth/README.md rename to arch/dconf/README.md diff --git a/ansible/dconf/defaults/main.yml b/arch/dconf/defaults/main.yml similarity index 100% rename from ansible/dconf/defaults/main.yml rename to arch/dconf/defaults/main.yml diff --git a/ansible/dconf/handlers/main.yml b/arch/dconf/handlers/main.yml similarity index 100% rename from ansible/dconf/handlers/main.yml rename to arch/dconf/handlers/main.yml diff --git a/ansible/arch_backup/meta/main.yml b/arch/dconf/meta/main.yml similarity index 100% rename from ansible/arch_backup/meta/main.yml rename to arch/dconf/meta/main.yml diff --git a/ansible/dconf/tasks/main.yml b/arch/dconf/tasks/main.yml similarity index 100% rename from ansible/dconf/tasks/main.yml rename to arch/dconf/tasks/main.yml diff --git a/ansible/arch_backup/tests/inventory b/arch/dconf/tests/inventory similarity index 100% rename from ansible/arch_backup/tests/inventory rename to arch/dconf/tests/inventory diff --git a/ansible/dconf/tests/test.yml b/arch/dconf/tests/test.yml similarity index 100% rename from ansible/dconf/tests/test.yml rename to arch/dconf/tests/test.yml diff --git a/ansible/dconf/vars/main.yml b/arch/dconf/vars/main.yml similarity index 100% rename from ansible/dconf/vars/main.yml rename to arch/dconf/vars/main.yml diff --git a/ansible/arch_bluetooth/.travis.yml b/arch/developer_tools/.travis.yml similarity index 100% rename from ansible/arch_bluetooth/.travis.yml rename to arch/developer_tools/.travis.yml diff --git a/ansible/arch_citrix/README.md b/arch/developer_tools/README.md similarity index 100% rename from ansible/arch_citrix/README.md rename to arch/developer_tools/README.md diff --git a/arch/developer_tools/defaults/main.yml b/arch/developer_tools/defaults/main.yml new file mode 100644 index 0000000..06ab757 --- /dev/null +++ b/arch/developer_tools/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for arch/developer_tools diff --git a/arch/developer_tools/handlers/main.yml b/arch/developer_tools/handlers/main.yml new file mode 100644 index 0000000..98370b2 --- /dev/null +++ b/arch/developer_tools/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for arch/developer_tools diff --git a/ansible/arch_bluetooth/meta/main.yml b/arch/developer_tools/meta/main.yml similarity index 100% rename from ansible/arch_bluetooth/meta/main.yml rename to arch/developer_tools/meta/main.yml diff --git a/arch/developer_tools/tasks/main.yml b/arch/developer_tools/tasks/main.yml new file mode 100644 index 0000000..748a036 --- /dev/null +++ b/arch/developer_tools/tasks/main.yml @@ -0,0 +1,175 @@ +--- +# Sync and update Pacman +- name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + tags: update +# Install Pacman developer tools +- name: Ensure daily-driver (development, work, gaming) installed + community.general.pacman: + name: + - vim + - wine + - winetricks + - wine-mono + - wine_gecko + - iputils + - dnsutils + - iperf3 + - python + - python-pip + - grub + - glances + - htop + - curl + - wget + - dconf-editor + - yay + - unzip +# Install yay developer tools +- name: Install vscode + command: yay -S visual-studio-code-bin --noconfirm +# Install snap developer tools +- name: Ensure snap installed + community.general.pacman: + name: snapd + state: present + become: yes +- name: Ensure snapd service running + ansible.builtin.systemd: + name: snapd.socket + state: started + enabled: yes + become: yes +- name: Link /var/lib/snapd/snap /snap + ansible.builtin.file: + src: /var/lib/snapd/snap + dest: /snap + owner: root + group: root + state: link + become: yes +- name: Install snap packages + community.general.snap: + name: + - yq + state: present + become: yes + retries: 6 + delay: 10 +- name: Install classic snap packages + community.general.snap: + name: + - kubectl + - helm + state: present + classic: yes + become: yes + retries: 6 + delay: 10 +# AWS CLI +- name: Download awscli v2 installer - latest version + unarchive: + src: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip + dest: '{{ executable_temp_dir }}' + remote_src: true + creates: '{{ executable_temp_dir }}/aws' + mode: 0755 + when: awscli_version is not defined + tags: ["awscli", "awscliv2"] +- name: Download awscli v2 installer - specific version {{ awscli_version }} + unarchive: + src: 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64-{{ awscli_version }}.zip' + dest: "{{ executable_temp_dir }}" + remote_src: true + creates: '{{ executable_temp_dir }}/aws' + mode: 0755 + when: awscli_version is defined + tags: ["awscli", "awscliv2"] +- name: Run the installer for awscli v2 + command: + args: + cmd: '{{ executable_temp_dir }}/aws/install -i {{ awscli_install_dir }} -b /usr/local/bin' + creates: /usr/local/bin/aws + become: yes + tags: ["awscli", "awscliv2"] +# Ansible +- name: Install ansible + pip: + name: ansible + extra_args: --user +# Docker +- name: Ensure docker installed + community.general.pacman: + name: + - docker + - docker-compose + state: present + become: yes +- name: Ensure ducoterra in the "docker" group + ansible.builtin.user: + name: ducoterra + groups: docker + append: yes + become: yes +# Vault CLI +- name: Download vault binary + unarchive: + src: https://releases.hashicorp.com/vault/{{vault_version}}/vault_{{vault_version}}_linux_amd64.zip + dest: '{{ executable_temp_dir }}' + remote_src: true + creates: '{{ executable_temp_dir }}/vault' + mode: 0755 +- name: Move vault binary to /usr/local/bin + ansible.builtin.copy: + src: '{{ executable_temp_dir }}/vault' + dest: /usr/local/bin/vault + owner: root + group: root + mode: '0755' + become: yes +# Terraform CLI +- name: Download vault binary + unarchive: + src: https://releases.hashicorp.com/terraform/{{tf_version}}/terraform_{{tf_version}}_linux_amd64.zip + dest: '{{ executable_temp_dir }}' + remote_src: true + creates: '{{ executable_temp_dir }}/terraform' + mode: 0755 +- name: Move terraform binary to /usr/local/bin + ansible.builtin.copy: + src: '{{ executable_temp_dir }}/terraform' + dest: /usr/local/bin/terraform + owner: root + group: root + mode: '0755' + become: yes +# Packer CLI +- name: Download packer binary + unarchive: + src: https://releases.hashicorp.com/packer/{{packer_version}}/packer_{{packer_version}}_linux_amd64.zip + dest: '{{ executable_temp_dir }}' + remote_src: true + creates: '{{ executable_temp_dir }}/packer' + mode: 0755 +- name: Move packer binary to /usr/local/bin + ansible.builtin.copy: + src: '{{ executable_temp_dir }}/packer' + dest: /usr/local/bin/packer + owner: root + group: root + mode: '0755' + become: yes +# Wireguard Configuration +- name: Ensure wireguard-tools installed + community.general.pacman: + name: wireguard-tools + state: present + become: yes +- name: Ensure /etc/wireguard directory + file: + path: /etc/wireguard + state: directory + become: yes diff --git a/ansible/arch_bluetooth/tests/inventory b/arch/developer_tools/tests/inventory similarity index 100% rename from ansible/arch_bluetooth/tests/inventory rename to arch/developer_tools/tests/inventory diff --git a/ansible/arch_citrix/tests/test.yml b/arch/developer_tools/tests/test.yml similarity index 65% rename from ansible/arch_citrix/tests/test.yml rename to arch/developer_tools/tests/test.yml index 1df3b74..5d4a47c 100644 --- a/ansible/arch_citrix/tests/test.yml +++ b/arch/developer_tools/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - arch_citrix + - arch/developer_tools diff --git a/arch/developer_tools/vars/main.yml b/arch/developer_tools/vars/main.yml new file mode 100644 index 0000000..fba00e6 --- /dev/null +++ b/arch/developer_tools/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for arch/developer_tools diff --git a/ansible/arch_citrix/.travis.yml b/arch/dnet_ca/.travis.yml similarity index 100% rename from ansible/arch_citrix/.travis.yml rename to arch/dnet_ca/.travis.yml diff --git a/ansible/arch_dnet_ca/README.md b/arch/dnet_ca/README.md similarity index 100% rename from ansible/arch_dnet_ca/README.md rename to arch/dnet_ca/README.md diff --git a/ansible/arch_dnet_ca/defaults/main.yml b/arch/dnet_ca/defaults/main.yml similarity index 100% rename from ansible/arch_dnet_ca/defaults/main.yml rename to arch/dnet_ca/defaults/main.yml diff --git a/ansible/arch_dnet_ca/handlers/main.yml b/arch/dnet_ca/handlers/main.yml similarity index 100% rename from ansible/arch_dnet_ca/handlers/main.yml rename to arch/dnet_ca/handlers/main.yml diff --git a/ansible/arch_citrix/meta/main.yml b/arch/dnet_ca/meta/main.yml similarity index 100% rename from ansible/arch_citrix/meta/main.yml rename to arch/dnet_ca/meta/main.yml diff --git a/ansible/arch_dnet_ca/tasks/main.yml b/arch/dnet_ca/tasks/main.yml similarity index 100% rename from ansible/arch_dnet_ca/tasks/main.yml rename to arch/dnet_ca/tasks/main.yml diff --git a/ansible/arch_citrix/tests/inventory b/arch/dnet_ca/tests/inventory similarity index 100% rename from ansible/arch_citrix/tests/inventory rename to arch/dnet_ca/tests/inventory diff --git a/ansible/arch_dnet_ca/tests/test.yml b/arch/dnet_ca/tests/test.yml similarity index 100% rename from ansible/arch_dnet_ca/tests/test.yml rename to arch/dnet_ca/tests/test.yml diff --git a/ansible/arch_dnet_ca/vars/main.yml b/arch/dnet_ca/vars/main.yml similarity index 100% rename from ansible/arch_dnet_ca/vars/main.yml rename to arch/dnet_ca/vars/main.yml diff --git a/arch/framework.yml b/arch/framework.yml new file mode 100644 index 0000000..81bcc88 --- /dev/null +++ b/arch/framework.yml @@ -0,0 +1,49 @@ +--- +# Run through all tasks to setup machines + +- hosts: localhost + gather_facts: true + order: inventory + vars: + executable_temp_dir: /tmp + awscli_install_dir: /opt/aws-cli/ + vault_version: 1.9.3 + swap_file_path: /swap/swapfile + swap_file_size_mb: 4096 + + roles: + - role: btrfs_backups + tags: ["btrfs_backups"] + + - role: daily_drivers + tags: ["daily_drivers"] + + - role: dconf + tags: ["dconf"] + + - role: developer_tools + tags: ["developer_tools"] + + - role: dnet_ca + tags: ["dnet_ca"] + + - role: gnome_extensions + tags: ["gnome_extensions"] + + - role: hardware_tools + tags: ["hardware_tools"] + + - role: iscsi_freenas + tags: ["iscsi_freenas"] + + - role: minecraft + tags: ["minecraft"] + + - role: openssh + tags: ["openssh"] + + - role: swap + tags: ["swap"] + + - role: work_tools + tags: ["work_tools"] diff --git a/ansible/arch_dnet_ca/.travis.yml b/arch/gnome_extensions/.travis.yml similarity index 100% rename from ansible/arch_dnet_ca/.travis.yml rename to arch/gnome_extensions/.travis.yml diff --git a/ansible/arch_docker/README.md b/arch/gnome_extensions/README.md similarity index 100% rename from ansible/arch_docker/README.md rename to arch/gnome_extensions/README.md diff --git a/ansible/gnome_extensions/defaults/main.yml b/arch/gnome_extensions/defaults/main.yml similarity index 100% rename from ansible/gnome_extensions/defaults/main.yml rename to arch/gnome_extensions/defaults/main.yml diff --git a/ansible/gnome_extensions/handlers/main.yml b/arch/gnome_extensions/handlers/main.yml similarity index 100% rename from ansible/gnome_extensions/handlers/main.yml rename to arch/gnome_extensions/handlers/main.yml diff --git a/ansible/arch_dnet_ca/meta/main.yml b/arch/gnome_extensions/meta/main.yml similarity index 100% rename from ansible/arch_dnet_ca/meta/main.yml rename to arch/gnome_extensions/meta/main.yml diff --git a/ansible/gnome_extensions/tasks/main.yml b/arch/gnome_extensions/tasks/main.yml similarity index 100% rename from ansible/gnome_extensions/tasks/main.yml rename to arch/gnome_extensions/tasks/main.yml diff --git a/ansible/arch_dnet_ca/tests/inventory b/arch/gnome_extensions/tests/inventory similarity index 100% rename from ansible/arch_dnet_ca/tests/inventory rename to arch/gnome_extensions/tests/inventory diff --git a/ansible/gnome_extensions/tests/test.yml b/arch/gnome_extensions/tests/test.yml similarity index 100% rename from ansible/gnome_extensions/tests/test.yml rename to arch/gnome_extensions/tests/test.yml diff --git a/ansible/gnome_extensions/vars/main.yml b/arch/gnome_extensions/vars/main.yml similarity index 100% rename from ansible/gnome_extensions/vars/main.yml rename to arch/gnome_extensions/vars/main.yml diff --git a/ansible/arch_docker/.travis.yml b/arch/hardware_tools/.travis.yml similarity index 100% rename from ansible/arch_docker/.travis.yml rename to arch/hardware_tools/.travis.yml diff --git a/ansible/arch_iscsi/README.md b/arch/hardware_tools/README.md similarity index 100% rename from ansible/arch_iscsi/README.md rename to arch/hardware_tools/README.md diff --git a/arch/hardware_tools/defaults/main.yml b/arch/hardware_tools/defaults/main.yml new file mode 100644 index 0000000..1d0dc05 --- /dev/null +++ b/arch/hardware_tools/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for arch/hardware_tools diff --git a/arch/hardware_tools/handlers/main.yml b/arch/hardware_tools/handlers/main.yml new file mode 100644 index 0000000..a7701c6 --- /dev/null +++ b/arch/hardware_tools/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for arch/hardware_tools diff --git a/ansible/arch_docker/meta/main.yml b/arch/hardware_tools/meta/main.yml similarity index 100% rename from ansible/arch_docker/meta/main.yml rename to arch/hardware_tools/meta/main.yml diff --git a/arch/hardware_tools/tasks/main.yml b/arch/hardware_tools/tasks/main.yml new file mode 100644 index 0000000..84fbf1d --- /dev/null +++ b/arch/hardware_tools/tasks/main.yml @@ -0,0 +1,62 @@ +--- +# Sync and update Pacman +- name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + tags: update +# Bluetooth +- name: Ensure bluetooth installed and configured + community.general.pacman: + name: + - bluez + - bluez-utils + state: present + become: yes +- name: Ensure bluetooth service started + ansible.builtin.systemd: + name: bluetooth + state: started + enabled: yes + become: yes +# Auto CPU Freq +- name: Ensure snap installed + community.general.pacman: + name: snapd + state: present + become: yes +- name: Ensure snapd service running + ansible.builtin.systemd: + name: snapd.socket + state: started + enabled: yes + become: yes +- name: Uninstall tlp + community.general.pacman: + name: tlp + state: absent + become: yes +- name: Install auto-cpufreq + community.general.snap: + name: auto-cpufreq + state: present + become: yes +- name: Enable auto-cpufreq + command: auto-cpufreq --install + become: yes +# UFW +- name: Ensure UFW installed + community.general.pacman: + name: ufw + state: present + become: yes +- name: Enable UFW + community.general.ufw: + state: enabled + become: yes +- name: Allow SSH + community.general.ufw: + rule: allow + name: ssh + become: yes diff --git a/ansible/arch_docker/tests/inventory b/arch/hardware_tools/tests/inventory similarity index 100% rename from ansible/arch_docker/tests/inventory rename to arch/hardware_tools/tests/inventory diff --git a/ansible/arch_bluetooth/tests/test.yml b/arch/hardware_tools/tests/test.yml similarity index 66% rename from ansible/arch_bluetooth/tests/test.yml rename to arch/hardware_tools/tests/test.yml index aea901e..a72c069 100644 --- a/ansible/arch_bluetooth/tests/test.yml +++ b/arch/hardware_tools/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - arch_bluetooth + - arch/hardware_tools diff --git a/arch/hardware_tools/vars/main.yml b/arch/hardware_tools/vars/main.yml new file mode 100644 index 0000000..d3a7d63 --- /dev/null +++ b/arch/hardware_tools/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for arch/hardware_tools diff --git a/ansible/arch_iscsi/.travis.yml b/arch/iscsi_freenas/.travis.yml similarity index 100% rename from ansible/arch_iscsi/.travis.yml rename to arch/iscsi_freenas/.travis.yml diff --git a/ansible/arch_minecraft/README.md b/arch/iscsi_freenas/README.md similarity index 100% rename from ansible/arch_minecraft/README.md rename to arch/iscsi_freenas/README.md diff --git a/ansible/arch_iscsi/defaults/main.yml b/arch/iscsi_freenas/defaults/main.yml similarity index 100% rename from ansible/arch_iscsi/defaults/main.yml rename to arch/iscsi_freenas/defaults/main.yml diff --git a/ansible/arch_iscsi/handlers/main.yml b/arch/iscsi_freenas/handlers/main.yml similarity index 100% rename from ansible/arch_iscsi/handlers/main.yml rename to arch/iscsi_freenas/handlers/main.yml diff --git a/ansible/arch_iscsi/meta/main.yml b/arch/iscsi_freenas/meta/main.yml similarity index 100% rename from ansible/arch_iscsi/meta/main.yml rename to arch/iscsi_freenas/meta/main.yml diff --git a/ansible/arch_iscsi/tasks/main.yml b/arch/iscsi_freenas/tasks/main.yml similarity index 84% rename from ansible/arch_iscsi/tasks/main.yml rename to arch/iscsi_freenas/tasks/main.yml index 896d1fc..2737cd1 100644 --- a/ansible/arch_iscsi/tasks/main.yml +++ b/arch/iscsi_freenas/tasks/main.yml @@ -1,5 +1,12 @@ --- # tasks file for ansible/arch_iscsi +# Sync and update Pacman +- name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + tags: update - name: open-iscsi installed community.general.pacman: name: open-iscsi diff --git a/ansible/arch_iscsi/tests/inventory b/arch/iscsi_freenas/tests/inventory similarity index 100% rename from ansible/arch_iscsi/tests/inventory rename to arch/iscsi_freenas/tests/inventory diff --git a/ansible/arch_iscsi/tests/test.yml b/arch/iscsi_freenas/tests/test.yml similarity index 100% rename from ansible/arch_iscsi/tests/test.yml rename to arch/iscsi_freenas/tests/test.yml diff --git a/ansible/arch_iscsi/vars/main.yml b/arch/iscsi_freenas/vars/main.yml similarity index 100% rename from ansible/arch_iscsi/vars/main.yml rename to arch/iscsi_freenas/vars/main.yml diff --git a/ansible/arch_minecraft/.travis.yml b/arch/minecraft/.travis.yml similarity index 100% rename from ansible/arch_minecraft/.travis.yml rename to arch/minecraft/.travis.yml diff --git a/ansible/arch_openssh/README.md b/arch/minecraft/README.md similarity index 100% rename from ansible/arch_openssh/README.md rename to arch/minecraft/README.md diff --git a/ansible/arch_minecraft/defaults/main.yml b/arch/minecraft/defaults/main.yml similarity index 100% rename from ansible/arch_minecraft/defaults/main.yml rename to arch/minecraft/defaults/main.yml diff --git a/ansible/arch_minecraft/handlers/main.yml b/arch/minecraft/handlers/main.yml similarity index 100% rename from ansible/arch_minecraft/handlers/main.yml rename to arch/minecraft/handlers/main.yml diff --git a/ansible/arch_minecraft/meta/main.yml b/arch/minecraft/meta/main.yml similarity index 100% rename from ansible/arch_minecraft/meta/main.yml rename to arch/minecraft/meta/main.yml diff --git a/ansible/arch_minecraft/tasks/main.yml b/arch/minecraft/tasks/main.yml similarity index 100% rename from ansible/arch_minecraft/tasks/main.yml rename to arch/minecraft/tasks/main.yml diff --git a/ansible/arch_minecraft/tests/inventory b/arch/minecraft/tests/inventory similarity index 100% rename from ansible/arch_minecraft/tests/inventory rename to arch/minecraft/tests/inventory diff --git a/ansible/arch_minecraft/tests/test.yml b/arch/minecraft/tests/test.yml similarity index 100% rename from ansible/arch_minecraft/tests/test.yml rename to arch/minecraft/tests/test.yml diff --git a/ansible/arch_minecraft/vars/main.yml b/arch/minecraft/vars/main.yml similarity index 100% rename from ansible/arch_minecraft/vars/main.yml rename to arch/minecraft/vars/main.yml diff --git a/ansible/arch_openssh/.travis.yml b/arch/openssh/.travis.yml similarity index 100% rename from ansible/arch_openssh/.travis.yml rename to arch/openssh/.travis.yml diff --git a/ansible/arch_qmk/README.md b/arch/openssh/README.md similarity index 100% rename from ansible/arch_qmk/README.md rename to arch/openssh/README.md diff --git a/ansible/arch_openssh/defaults/main.yml b/arch/openssh/defaults/main.yml similarity index 100% rename from ansible/arch_openssh/defaults/main.yml rename to arch/openssh/defaults/main.yml diff --git a/ansible/arch_openssh/handlers/main.yml b/arch/openssh/handlers/main.yml similarity index 100% rename from ansible/arch_openssh/handlers/main.yml rename to arch/openssh/handlers/main.yml diff --git a/ansible/arch_openssh/meta/main.yml b/arch/openssh/meta/main.yml similarity index 100% rename from ansible/arch_openssh/meta/main.yml rename to arch/openssh/meta/main.yml diff --git a/ansible/arch_openssh/tasks/main.yml b/arch/openssh/tasks/main.yml similarity index 84% rename from ansible/arch_openssh/tasks/main.yml rename to arch/openssh/tasks/main.yml index 8fc7611..a95f594 100644 --- a/ansible/arch_openssh/tasks/main.yml +++ b/arch/openssh/tasks/main.yml @@ -1,5 +1,12 @@ --- # SSH +# Sync and update Pacman +- name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + tags: update - name: Ensure openssh installed community.general.pacman: name: openssh diff --git a/ansible/arch_openssh/tests/inventory b/arch/openssh/tests/inventory similarity index 100% rename from ansible/arch_openssh/tests/inventory rename to arch/openssh/tests/inventory diff --git a/ansible/arch_openssh/tests/test.yml b/arch/openssh/tests/test.yml similarity index 100% rename from ansible/arch_openssh/tests/test.yml rename to arch/openssh/tests/test.yml diff --git a/ansible/arch_openssh/vars/main.yml b/arch/openssh/vars/main.yml similarity index 100% rename from ansible/arch_openssh/vars/main.yml rename to arch/openssh/vars/main.yml diff --git a/ansible/arch_qmk/.travis.yml b/arch/swap/.travis.yml similarity index 100% rename from ansible/arch_qmk/.travis.yml rename to arch/swap/.travis.yml diff --git a/ansible/arch_swap/README.md b/arch/swap/README.md similarity index 100% rename from ansible/arch_swap/README.md rename to arch/swap/README.md diff --git a/ansible/arch_swap/defaults/main.yml b/arch/swap/defaults/main.yml similarity index 100% rename from ansible/arch_swap/defaults/main.yml rename to arch/swap/defaults/main.yml diff --git a/ansible/arch_swap/handlers/main.yml b/arch/swap/handlers/main.yml similarity index 100% rename from ansible/arch_swap/handlers/main.yml rename to arch/swap/handlers/main.yml diff --git a/ansible/arch_qmk/meta/main.yml b/arch/swap/meta/main.yml similarity index 100% rename from ansible/arch_qmk/meta/main.yml rename to arch/swap/meta/main.yml diff --git a/ansible/arch_swap/tasks/main.yml b/arch/swap/tasks/main.yml similarity index 100% rename from ansible/arch_swap/tasks/main.yml rename to arch/swap/tasks/main.yml diff --git a/ansible/arch_qmk/tests/inventory b/arch/swap/tests/inventory similarity index 100% rename from ansible/arch_qmk/tests/inventory rename to arch/swap/tests/inventory diff --git a/ansible/arch_swap/tests/test.yml b/arch/swap/tests/test.yml similarity index 100% rename from ansible/arch_swap/tests/test.yml rename to arch/swap/tests/test.yml diff --git a/ansible/arch_swap/vars/main.yml b/arch/swap/vars/main.yml similarity index 100% rename from ansible/arch_swap/vars/main.yml rename to arch/swap/vars/main.yml diff --git a/ansible/arch_swap/.travis.yml b/arch/work_tools/.travis.yml similarity index 100% rename from ansible/arch_swap/.travis.yml rename to arch/work_tools/.travis.yml diff --git a/ansible/arch_ufw/README.md b/arch/work_tools/README.md similarity index 100% rename from ansible/arch_ufw/README.md rename to arch/work_tools/README.md diff --git a/arch/work_tools/defaults/main.yml b/arch/work_tools/defaults/main.yml new file mode 100644 index 0000000..4d26687 --- /dev/null +++ b/arch/work_tools/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for arch/work_tools diff --git a/arch/work_tools/handlers/main.yml b/arch/work_tools/handlers/main.yml new file mode 100644 index 0000000..7172558 --- /dev/null +++ b/arch/work_tools/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for arch/work_tools diff --git a/ansible/arch_swap/meta/main.yml b/arch/work_tools/meta/main.yml similarity index 100% rename from ansible/arch_swap/meta/main.yml rename to arch/work_tools/meta/main.yml diff --git a/ansible/arch_citrix/tasks/main.yml b/arch/work_tools/tasks/main.yml similarity index 100% rename from ansible/arch_citrix/tasks/main.yml rename to arch/work_tools/tasks/main.yml diff --git a/ansible/arch_swap/tests/inventory b/arch/work_tools/tests/inventory similarity index 100% rename from ansible/arch_swap/tests/inventory rename to arch/work_tools/tests/inventory diff --git a/ansible/ansible/tests/test.yml b/arch/work_tools/tests/test.yml similarity index 70% rename from ansible/ansible/tests/test.yml rename to arch/work_tools/tests/test.yml index 2aefb77..2735f76 100644 --- a/ansible/ansible/tests/test.yml +++ b/arch/work_tools/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - ansible + - arch/work_tools diff --git a/arch/work_tools/vars/main.yml b/arch/work_tools/vars/main.yml new file mode 100644 index 0000000..36fffc5 --- /dev/null +++ b/arch/work_tools/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for arch/work_tools