feat: updated to use kewlfft.aur from collection instead of local install
This commit is contained in:
parent
4a910f4706
commit
8d8c7c204d
12 changed files with 40 additions and 32 deletions
20
README.md
20
README.md
|
@ -1,19 +1,39 @@
|
||||||
## Invocation
|
## Invocation
|
||||||
|
|
||||||
|
```bash
|
||||||
export GITHUB_ACCESS_TOKEN=xxxxxxxxx
|
export GITHUB_ACCESS_TOKEN=xxxxxxxxx
|
||||||
ansible-playbook --inventory inventory.yaml wsl-debian.yaml
|
ansible-playbook --inventory inventory.yaml wsl-debian.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
## Arch Linux
|
||||||
|
|
||||||
|
Install aur collection:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ansible-galaxy collection install kewlfft.aur
|
||||||
|
```
|
||||||
|
|
||||||
|
Run
|
||||||
|
|
||||||
|
````bash
|
||||||
|
ansible-playbook --ask-become-pass --inventory inventory.yaml arch.yaml
|
||||||
|
```
|
||||||
|
|
||||||
## WSL Debian setup
|
## WSL Debian setup
|
||||||
|
|
||||||
cmd.exe:
|
cmd.exe:
|
||||||
|
|
||||||
|
```bat
|
||||||
wsl.exe --unregister Debian
|
wsl.exe --unregister Debian
|
||||||
Debian.exe install --root
|
Debian.exe install --root
|
||||||
|
````
|
||||||
|
|
||||||
root@debian:
|
root@debian:
|
||||||
|
|
||||||
|
```bash
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install openssh-server python3
|
apt-get -y install openssh-server python3
|
||||||
service ssh start
|
service ssh start
|
||||||
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q
|
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q
|
||||||
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmgEJRfpPRxQvzuCuEuDwarjzXaebBgbDsSNDZwm6EfJ2Arq15oYkGCB4oK45e2rfT8kaumpZ+7NteCRCJsrc3Cv/ivMkIekSLNuGAKe1bwM+QLraz2RLuCvH42AY+i7Tcg3LYihJgBw77/lseXstZ5RqkpxDCK2sSd/1qE1vYLTtXnAPwibQP/MWE7WPbHqjcBWSSe+XKl2b6sGiTA3H3KABIgHB6FSCbLmhqVMaDzwufkWhs/oeQnc6Kt7C8GA4x1DhAJmmZ237r4h/pu02KHpyL2OI2Z1sziBWNob/+WD0v/3jyzxaWcDWsOkEE1BE73osRbFU0W3sBnrGY8f7D mandl@DESKTOP-IH85M40" >> ~/.ssh/authorized_keys
|
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmgEJRfpPRxQvzuCuEuDwarjzXaebBgbDsSNDZwm6EfJ2Arq15oYkGCB4oK45e2rfT8kaumpZ+7NteCRCJsrc3Cv/ivMkIekSLNuGAKe1bwM+QLraz2RLuCvH42AY+i7Tcg3LYihJgBw77/lseXstZ5RqkpxDCK2sSd/1qE1vYLTtXnAPwibQP/MWE7WPbHqjcBWSSe+XKl2b6sGiTA3H3KABIgHB6FSCbLmhqVMaDzwufkWhs/oeQnc6Kt7C8GA4x1DhAJmmZ237r4h/pu02KHpyL2OI2Z1sziBWNob/+WD0v/3jyzxaWcDWsOkEE1BE73osRbFU0W3sBnrGY8f7D mandl@DESKTOP-IH85M40" >> ~/.ssh/authorized_keys
|
||||||
|
```
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Install Ansible AUR helper
|
|
||||||
- src: kewlfft.aur
|
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- kewlfft.aur
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install package
|
- name: install package
|
||||||
aur:
|
kewlfft.aur.aur:
|
||||||
name: gitflow-avh
|
name: gitflow-avh
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- kewlfft.aur
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install package
|
- name: install package
|
||||||
aur:
|
kewlfft.aur.aur:
|
||||||
name: slack-desktop
|
name: slack-desktop
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- kewlfft.aur
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install package
|
- name: install package
|
||||||
aur:
|
kewlfft.aur.aur:
|
||||||
name: teamviewer
|
name: teamviewer
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- kewlfft.aur
|
|
|
@ -20,7 +20,7 @@
|
||||||
- unclutter
|
- unclutter
|
||||||
|
|
||||||
- name: install AUR packages
|
- name: install AUR packages
|
||||||
aur:
|
kewlfft.aur.aur:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- kewlfft.aur
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install package
|
- name: install package
|
||||||
aur:
|
kewlfft.aur.aur:
|
||||||
name: zoom
|
name: zoom
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
Loading…
Reference in a new issue