Another overdue checkpoint
This commit is contained in:
parent
692269f9ff
commit
c501435876
25 changed files with 182 additions and 81 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.vault-password
|
|
@ -4,6 +4,6 @@ sudo dnf install -y python3-pip
|
||||||
pip install ansible
|
pip install ansible
|
||||||
ansible-galaxy collection install -r requirements.yml
|
ansible-galaxy collection install -r requirements.yml
|
||||||
|
|
||||||
|
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
|
||||||
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
|
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
|
||||||
gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/gnome/adwaita-timed.xml
|
gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/gnome/adwaita-timed.xml
|
||||||
|
|
|
@ -14,3 +14,4 @@
|
||||||
- { role: virtualhere, tags: [ 'virtualhere'] }
|
- { role: virtualhere, tags: [ 'virtualhere'] }
|
||||||
- { role: devdeck, tags: [ 'devdeck'] }
|
- { role: devdeck, tags: [ 'devdeck'] }
|
||||||
- { role: syncthing, tags: [ 'syncthing' ] }
|
- { role: syncthing, tags: [ 'syncthing' ] }
|
||||||
|
- { role: xbox, tags: [ 'xbox' ] }
|
16
host_vars/desktop
Normal file
16
host_vars/desktop
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
virtualhere_it: "1612256810"
|
||||||
|
virtualhere_easyfindid: "NnL1bKU8y9cMhUFhNzxNQA"
|
||||||
|
virtualhere_easyfindpin: "2vTMJN"
|
||||||
|
virtualhere_license: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
66626631346564356664303938303461343237613231616339303737666139366333656439383533
|
||||||
|
3264386566316234616539383266653261333039313934360a393530313234313161626334356139
|
||||||
|
63636466346538373962346533343362373737356664626164363136646436653065656438396136
|
||||||
|
3833623338656132380a663665663238393964386235653437643333646531336362303966386266
|
||||||
|
31383030356337396564666639323531643662346334303936366132643366383138363633336563
|
||||||
|
34363631343339393936613166646631386331336366383032373734653265356631646133363862
|
||||||
|
32326539646336663235353164623461353537303533626637363838653732623333373561303466
|
||||||
|
61333534316436366263646137643864343464303932626236616462373133346538663038376565
|
||||||
|
3232
|
9
hosts
9
hosts
|
@ -1,8 +1,5 @@
|
||||||
[desktop]
|
desktop ansible_connection=local
|
||||||
localhost has_gpu=False ansible_connection=local
|
|
||||||
|
|
||||||
[work]
|
laptop ansible_connection=local
|
||||||
localhost ansible_connection=local
|
|
||||||
|
|
||||||
[nano]
|
magnus ansible_host=10.0.1.6
|
||||||
10.0.1.3
|
|
|
@ -3,3 +3,6 @@
|
||||||
onepassword_cli_version: "v1.11.4"
|
onepassword_cli_version: "v1.11.4"
|
||||||
mkcert_version: "v1.4.3"
|
mkcert_version: "v1.4.3"
|
||||||
btop_version: "1.0.22"
|
btop_version: "1.0.22"
|
||||||
|
kind_version: "v0.11.1"
|
||||||
|
kubectl_version: "v1.23.3"
|
||||||
|
kompose_version: "v1.26.0"
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
- name: Install rpmfusion-free
|
- name: Install rpmfusion-free
|
||||||
dnf:
|
dnf:
|
||||||
name: https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-35.noarch.rpm
|
name: "https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||||
state: present
|
state: present
|
||||||
disable_gpg_check: 1
|
disable_gpg_check: 1
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: Install rpmfusion-nonfree
|
- name: Install rpmfusion-nonfree
|
||||||
dnf:
|
dnf:
|
||||||
name: https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-35.noarch.rpm
|
name: "https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||||
state: present
|
state: present
|
||||||
disable_gpg_check: 1
|
disable_gpg_check: 1
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -45,6 +45,9 @@
|
||||||
- podman-compose
|
- podman-compose
|
||||||
- dnf-plugins-core
|
- dnf-plugins-core
|
||||||
- lm_sensors
|
- lm_sensors
|
||||||
|
- cmake
|
||||||
|
- duf
|
||||||
|
- python3-pip
|
||||||
enablerepo: rpmfusion-free
|
enablerepo: rpmfusion-free
|
||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -56,6 +59,13 @@
|
||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: create ~/.local/bin
|
||||||
|
file:
|
||||||
|
path: ~/.local/bin
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
- name: Install 1password cli
|
- name: Install 1password cli
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "https://cache.agilebits.com/dist/1P/op/pkg/{{ onepassword_cli_version }}/op_linux_amd64_{{ onepassword_cli_version }}.zip"
|
src: "https://cache.agilebits.com/dist/1P/op/pkg/{{ onepassword_cli_version }}/op_linux_amd64_{{ onepassword_cli_version }}.zip"
|
||||||
|
@ -78,6 +88,24 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: Fetch kind binary
|
||||||
|
get_url:
|
||||||
|
url: "https://kind.sigs.k8s.io/dl/{{ kind_version }}/kind-linux-amd64"
|
||||||
|
dest: ~/.local/bin/kind
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
|
- name: Fetch kubectl binary
|
||||||
|
get_url:
|
||||||
|
url: "https://dl.k8s.io/release/{{ kubectl_version }}/bin/linux/amd64/kubectl"
|
||||||
|
dest: ~/.local/bin/kubectl
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
|
- name: Fetch kompose binary
|
||||||
|
get_url:
|
||||||
|
url: "https://github.com/kubernetes/kompose/releases/download/{{ kompose_version }}/kompose-linux-amd64"
|
||||||
|
dest: ~/.local/bin/kompose
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Install gh-cli
|
- name: Install gh-cli
|
||||||
dnf:
|
dnf:
|
||||||
name: gh
|
name: gh
|
||||||
|
@ -115,3 +143,14 @@
|
||||||
pip:
|
pip:
|
||||||
name: yt-dlp
|
name: yt-dlp
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Enable copr project varlad/onefetch
|
||||||
|
community.general.copr:
|
||||||
|
name: varlad/onefetch
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
- name: Install onefetch
|
||||||
|
dnf:
|
||||||
|
name: onefetch
|
||||||
|
state: present
|
||||||
|
become: yes
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[1password]
|
[1password]
|
||||||
name=1Password Stable Channel
|
name=1Password
|
||||||
baseurl=https://downloads.1password.com/linux/rpm/stable/$basearch
|
baseurl=https://downloads.1password.com/linux/rpm/stable/$basearch
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
4
roles/desktop/files/rpm.librewolf.net.repo
Normal file
4
roles/desktop/files/rpm.librewolf.net.repo
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[rpm.librewolf.net]
|
||||||
|
name=Librewolf
|
||||||
|
baseurl=https://rpm.librewolf.net
|
||||||
|
enabled=1
|
|
@ -1,5 +1,5 @@
|
||||||
[slack]
|
[slack]
|
||||||
name=slack
|
name=Slack
|
||||||
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/x86_64
|
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/x86_64
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[teleport]
|
[teleport]
|
||||||
name=Gravitational Teleport packages
|
name=Teleport
|
||||||
baseurl=https://rpm.releases.teleport.dev/
|
baseurl=https://rpm.releases.teleport.dev/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
|
@ -9,6 +9,12 @@
|
||||||
notify: enable boost
|
notify: enable boost
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: Disable SELinux because it's a nightmare with Podman
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/selinux/config
|
||||||
|
regexp: '^SELINUX='
|
||||||
|
line: SELINUX=disabled
|
||||||
|
become: yes
|
||||||
|
|
||||||
- name: Import dnf keys
|
- name: Import dnf keys
|
||||||
rpm_key:
|
rpm_key:
|
||||||
|
@ -18,7 +24,8 @@
|
||||||
- https://packagecloud.io/gpg.key
|
- https://packagecloud.io/gpg.key
|
||||||
- https://packages.microsoft.com/keys/microsoft.asc
|
- https://packages.microsoft.com/keys/microsoft.asc
|
||||||
- https://rpm.releases.teleport.dev/RPM-GPG-KEY-teleport
|
- https://rpm.releases.teleport.dev/RPM-GPG-KEY-teleport
|
||||||
# - https://downloads.1password.com/linux/keys/1password.asc
|
- https://downloads.1password.com/linux/keys/1password.asc
|
||||||
|
- https://keys.openpgp.org/vks/v1/by-fingerprint/034F7776EF5E0C613D2F7934D29FBD5F93C0CFC3 # Librewolf
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: Add dnf repos
|
- name: Add dnf repos
|
||||||
|
@ -31,6 +38,7 @@
|
||||||
- vscode.repo
|
- vscode.repo
|
||||||
- teleport.repo
|
- teleport.repo
|
||||||
- 1password.repo
|
- 1password.repo
|
||||||
|
- rpm.librewolf.net.repo
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: Install common desktop dnf packages
|
- name: Install common desktop dnf packages
|
||||||
|
@ -40,7 +48,6 @@
|
||||||
- power-profiles-daemon # Adds power settings in gnome-settings-center
|
- power-profiles-daemon # Adds power settings in gnome-settings-center
|
||||||
- chrome-gnome-shell
|
- chrome-gnome-shell
|
||||||
- celluloid
|
- celluloid
|
||||||
- gnome-extensions-app
|
|
||||||
- cheese
|
- cheese
|
||||||
- geary
|
- geary
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
|
@ -61,6 +68,8 @@
|
||||||
- 1password
|
- 1password
|
||||||
- code
|
- code
|
||||||
- teleport
|
- teleport
|
||||||
|
- librewolf
|
||||||
|
- mangohud
|
||||||
enablerepo:
|
enablerepo:
|
||||||
- rpmfusion-free
|
- rpmfusion-free
|
||||||
- rpmfusion-nonfree-steam
|
- rpmfusion-nonfree-steam
|
||||||
|
@ -85,16 +94,37 @@
|
||||||
- nl.g4d.Girens
|
- nl.g4d.Girens
|
||||||
- tech.feliciano.pocket-casts
|
- tech.feliciano.pocket-casts
|
||||||
- org.gnome.TextEditor
|
- org.gnome.TextEditor
|
||||||
|
- com.mattjakeman.ExtensionManager
|
||||||
|
- md.obsidian.Obsidian
|
||||||
|
- org.pipewire.Helvum
|
||||||
state: present
|
state: present
|
||||||
remote: flathub
|
remote: flathub
|
||||||
method: user
|
method: user
|
||||||
|
|
||||||
|
- name: Add the knapsu flatpak repository remote to the user installation
|
||||||
|
flatpak_remote:
|
||||||
|
name: knapsu
|
||||||
|
state: present
|
||||||
|
flatpakrepo_url: https://flatpak.knapsu.eu/plex-media-player.flatpakrepo
|
||||||
|
method: user
|
||||||
|
|
||||||
|
- name: Install flatpaks from knapsu
|
||||||
|
flatpak:
|
||||||
|
name:
|
||||||
|
- tv.plex.PlexMediaPlayer
|
||||||
|
state: present
|
||||||
|
remote: knapsu
|
||||||
|
method: user
|
||||||
|
|
||||||
- name: Install remote rpms
|
- name: Install remote rpms
|
||||||
dnf:
|
dnf:
|
||||||
name:
|
name:
|
||||||
- https://zoom.us/client/latest/zoom_x86_64.rpm
|
- https://cdn.zoom.us/prod/v5.10.4/zoom_x86_64.rpm
|
||||||
- https://github.com/hensm/fx_cast/releases/download/v0.1.0/fx_cast_bridge-0.1.0-x64.rpm
|
- https://github.com/hensm/fx_cast/releases/download/v0.2.0/fx_cast_bridge-0.2.0-x64.rpm
|
||||||
- https://github.com/Kong/insomnia/releases/download/core%402021.5.3/Insomnia.Core-2021.5.3.rpm
|
- https://github.com/Kong/insomnia/releases/download/core%402021.5.3/Insomnia.Core-2021.5.3.rpm
|
||||||
|
- https://github.com/openaudible/openaudible/releases/download/v3.4.3/OpenAudible_3.4.3_x86_64.rpm
|
||||||
|
- https://github.com/Mastermindzh/tidal-hifi/releases/download/2.7.1/tidal-hifi-2.7.1.x86_64.rpm
|
||||||
|
- https://github.com/iongion/podman-desktop-companion/releases/download/4.0.3-rc.2/podman-desktop-companion-x86_64-4.0.3-rc.2.rpm
|
||||||
state: present
|
state: present
|
||||||
disable_gpg_check: 1
|
disable_gpg_check: 1
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,25 +1,12 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Enable copr project yuezk/globalprotect-openconnect
|
||||||
dnf:
|
community.general.copr:
|
||||||
name:
|
name: yuezk/globalprotect-openconnect
|
||||||
- qt5-qttools-devel
|
|
||||||
- qt5-qtwebsockets-devel
|
|
||||||
- qt5-qtwebengine-devel
|
|
||||||
- openconnect
|
|
||||||
state: present
|
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: Clone yuezk/GlobalProtect-openconnect
|
- name: Install globalprotect-openconnect
|
||||||
git:
|
dnf:
|
||||||
repo: 'https://github.com/yuezk/GlobalProtect-openconnect.git'
|
name: globalprotect-openconnect
|
||||||
recursive: yes
|
state: present
|
||||||
update: yes
|
become: yes
|
||||||
version: master
|
|
||||||
dest: /tmp/GlobalProtect-openconnect
|
|
||||||
|
|
||||||
- name: Install using provided script
|
|
||||||
command:
|
|
||||||
chdir: /tmp/GlobalProtect-openconnect
|
|
||||||
cmd: ./scripts/install.sh
|
|
||||||
creates: /usr/bin/gpclient
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
- name: Install rpmsphere-release
|
- name: Install rpmsphere-release
|
||||||
dnf:
|
dnf:
|
||||||
name: https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-35.noarch.rpm
|
name: https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-{{ ansible_distribution_major_version }}.noarch.rpm
|
||||||
state: present
|
state: present
|
||||||
disable_gpg_check: 1
|
disable_gpg_check: 1
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -74,7 +74,7 @@ logind: no
|
||||||
# mysql: yes
|
# mysql: yes
|
||||||
# nginx: yes
|
# nginx: yes
|
||||||
# nginx_plus: yes
|
# nginx_plus: yes
|
||||||
{% if has_gpu %}
|
{% if has_nvidia_gpu %}
|
||||||
nvidia_smi: yes
|
nvidia_smi: yes
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# nginx_log has been replaced by web_log
|
# nginx_log has been replaced by web_log
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[hardware_razer]
|
[hardware_razer]
|
||||||
name=hardware:razer (Fedora_35)
|
name=hardware:razer (Fedora_36)
|
||||||
type=rpm-md
|
type=rpm-md
|
||||||
baseurl=https://download.opensuse.org/repositories/hardware:/razer/Fedora_35/
|
baseurl=https://download.opensuse.org/repositories/hardware:/razer/Fedora_36/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=https://download.opensuse.org/repositories/hardware:/razer/Fedora_35/repodata/repomd.xml.key
|
gpgkey=https://download.opensuse.org/repositories/hardware:/razer/Fedora_36/repodata/repomd.xml.key
|
||||||
enabled=1
|
enabled=1
|
||||||
|
|
|
@ -11,29 +11,29 @@
|
||||||
git:
|
git:
|
||||||
repo: 'https://github.com/duncanthrax/scream.git'
|
repo: 'https://github.com/duncanthrax/scream.git'
|
||||||
version: master
|
version: master
|
||||||
dest: /tmp/duncanthrax-scream
|
dest: ~/.cache/duncanthrax-scream
|
||||||
|
|
||||||
- name: Create build dir
|
- name: Create build dir
|
||||||
file:
|
file:
|
||||||
dest: /tmp/duncanthrax-scream/Receivers/unix/build
|
dest: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Cmake the Makefiles
|
- name: Cmake the Makefiles
|
||||||
command:
|
command:
|
||||||
chdir: /tmp/duncanthrax-scream/Receivers/unix/build
|
chdir: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
||||||
cmd: cmake ..
|
cmd: cmake ..
|
||||||
creates: /tmp/duncanthrax-scream/Receivers/unix/build/Makefile
|
creates: ~/.cache/duncanthrax-scream/Receivers/unix/build/Makefile
|
||||||
|
|
||||||
- name: Make all the things
|
- name: Make all the things
|
||||||
command:
|
command:
|
||||||
chdir: /tmp/duncanthrax-scream/Receivers/unix/build
|
chdir: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
||||||
cmd: make
|
cmd: make
|
||||||
creates: /tmp/duncanthrax-scream/Receivers/unix/build/scream
|
creates: ~/.cache/duncanthrax-scream/Receivers/unix/build/scream
|
||||||
|
|
||||||
- name: make install
|
- name: make install
|
||||||
command:
|
command:
|
||||||
chdir: /tmp/duncanthrax-scream/Receivers/unix/build
|
chdir: /home/jonathan/.cache/duncanthrax-scream/Receivers/unix/build
|
||||||
cmd: make install
|
cmd: make install
|
||||||
creates: /usr/local/bin/scream
|
creates: /usr/local/bin/scream
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -10,14 +10,10 @@ After=network-online.target
|
||||||
RequiresMountsFor=/run/user/1000/containers
|
RequiresMountsFor=/run/user/1000/containers
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
TimeoutStopSec=70
|
TimeoutStopSec=70
|
||||||
ExecStart=/usr/bin/podman start --conmon-pidfile=/run/user/1000/containers/overlay-containers/a28350af37850f9c5df8a2884e974c79f64d0dc30bece852d5d1c341a47334c9/userdata/conmon.pid syncthing
|
ExecStart=/usr/bin/podman start syncthing
|
||||||
ExecStop=/usr/bin/podman stop --conmon-pidfile=/run/user/1000/containers/overlay-containers/a28350af37850f9c5df8a2884e974c79f64d0dc30bece852d5d1c341a47334c9/userdata/conmon.pid -t 10 syncthing
|
ExecStop=/usr/bin/podman stop -t 10 syncthing
|
||||||
ExecStopPost=/usr/bin/podman stop --conmon-pidfile=/run/user/1000/containers/overlay-containers/a28350af37850f9c5df8a2884e974c79f64d0dc30bece852d5d1c341a47334c9/userdata/conmon.pid -t 10 syncthing
|
|
||||||
PIDFile=/run/user/1000/containers/overlay-containers/a28350af37850f9c5df8a2884e974c79f64d0dc30bece852d5d1c341a47334c9/userdata/conmon.pid
|
|
||||||
Type=forking
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target default.target
|
WantedBy=default.target
|
||||||
|
|
|
@ -14,12 +14,26 @@
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
dest: ~/.local/share/systemd/user/syncthing.service
|
dest: ~/.local/share/systemd/user/syncthing.service
|
||||||
|
|
||||||
|
- name: Create Syncthing directories
|
||||||
|
file:
|
||||||
|
dest: "{{item}}"
|
||||||
|
mode: '0700'
|
||||||
|
owner: jonathan
|
||||||
|
group: jonathan
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- /home/jonathan/.config/podman/etc/syncthing
|
||||||
|
- /home/jonathan/.config/podman/syncthing
|
||||||
|
- /home/jonathan/Sync
|
||||||
|
- /home/jonathan/Code
|
||||||
|
- /home/jonathan/Udemy
|
||||||
|
|
||||||
|
|
||||||
- name: Create and start Syncthing container
|
- name: Create and start Syncthing container
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
name: syncthing
|
name: syncthing
|
||||||
image: docker.io/syncthing/syncthing
|
image: docker.io/syncthing/syncthing
|
||||||
user: "0"
|
user: "0"
|
||||||
memory: 512m
|
|
||||||
env:
|
env:
|
||||||
PUID: "0"
|
PUID: "0"
|
||||||
PGID: "0"
|
PGID: "0"
|
||||||
|
@ -34,4 +48,8 @@
|
||||||
network: host
|
network: host
|
||||||
restart_policy: on-failure:5
|
restart_policy: on-failure:5
|
||||||
|
|
||||||
|
- name: Enable syncthing systemd unit
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: syncthing
|
||||||
|
scope: user
|
||||||
|
enabled: yes
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
It=1612256810
|
|
||||||
EasyFindId=NnL1bKU8y9cMhUFhNzxNQA
|
|
||||||
EasyFindPin=2vTMJN
|
|
||||||
License=100426f0-7de4-ae8e-e7e1-244bfec823db,0,MCACDi8rVnEa6oduIXJBZNAEAg5o/Fp6R7Njxf5D4uN0Bw==
|
|
|
@ -17,8 +17,8 @@
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: Create Virtualhere config
|
- name: Create Virtualhere config
|
||||||
copy:
|
template:
|
||||||
src: config.ini
|
src: config.ini.j2
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
dest: /usr/local/etc/virtualhere/config.ini
|
dest: /usr/local/etc/virtualhere/config.ini
|
||||||
become: yes
|
become: yes
|
||||||
|
|
4
roles/virtualhere/templates/config.ini.j2
Normal file
4
roles/virtualhere/templates/config.ini.j2
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
It={{ virtualhere_it }}
|
||||||
|
EasyFindId={{ virtualhere_easyfindid }}
|
||||||
|
EasyFindPin={{ virtualhere_easyfindpin }}
|
||||||
|
License={{ virtualhere_license }}
|
22
roles/xbox/tasks/main.yml
Normal file
22
roles/xbox/tasks/main.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
- dkms
|
||||||
|
- cabextract
|
||||||
|
state: present
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
- name: Clone medusalix/xone
|
||||||
|
git:
|
||||||
|
repo: 'https://github.com/medusalix/xone'
|
||||||
|
version: master
|
||||||
|
dest: ~/.cache/medusalix-xone
|
||||||
|
|
||||||
|
# if [ -n "$(dkms status xone)" ]; then
|
||||||
|
# echo 'Driver is already installed!' >&2
|
||||||
|
# exit 1
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# do the things in https://github.com/medusalix/xone/blob/master/install.sh
|
|
@ -1,11 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- hosts: nano
|
- hosts: magnus
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: base, tags: [ 'base'] }
|
- { role: base, tags: [ 'base'] }
|
||||||
- { role: users, tags: [ 'users'] }
|
- { role: users, tags: [ 'users'] }
|
||||||
- { role: ssh, tags: [ 'ssh'] }
|
- { role: ssh, tags: [ 'ssh'] }
|
||||||
- { role: docker, tags: [ 'docker' ] }
|
- { role: docker, tags: [ 'docker'] }
|
||||||
- { role: tailscale, tags: [ 'tailscale'] }
|
- { role: tailscale, tags: [ 'tailscale'] }
|
||||||
- { role: netdata, tags: [ 'netdata'] }
|
|
11
work.yml
11
work.yml
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
- hosts: work
|
|
||||||
roles:
|
|
||||||
- { role: common, tags: [ 'common'] }
|
|
||||||
- { role: users, tags: [ 'users'] }
|
|
||||||
- { role: tailscale, tags: [ 'tailscale'] }
|
|
||||||
- { role: appimages, tags: [ 'appimages'] }
|
|
||||||
- { role: ssh, tags: [ 'ssh'] }
|
|
||||||
- { role: docker, tags: [ 'docker'] }
|
|
||||||
- { role: luminance, tags: [ 'luminance'] }
|
|
Loading…
Add table
Add a link
Reference in a new issue