Catching up Sharingan, Geth, and ShadowArch roles
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# Server list generated by rankmirrors on 2022-01-25
|
||||
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
|
||||
Server = http://arch.hu.fo/archlinux/$repo/os/$arch
|
||||
Server = http://il.us.mirror.archlinux-br.org/$repo/os/$arch
|
||||
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
|
||||
Server = http://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch
|
||||
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
|
@@ -9,14 +9,21 @@
|
||||
|
||||
- name: Static ArchLinux network config
|
||||
become: yes
|
||||
when: static
|
||||
when: static and not tap
|
||||
template:
|
||||
src: netctl-static.j2
|
||||
dest: "/etc/netctl/{{ ipinterface }}"
|
||||
|
||||
- name: Tap ArchLinux network config
|
||||
become: yes
|
||||
when: tap and not static
|
||||
template:
|
||||
src: netctl-tap.j2
|
||||
dest: "/etc/netctl/{{ ipinterface }}"
|
||||
|
||||
- name: Dynamic ArchLinux network config
|
||||
become: yes
|
||||
when: static
|
||||
when: not static and not tap
|
||||
template:
|
||||
src: netctl-dhcp.j2
|
||||
dest: "/etc/netctl/{{ ipinterface }}"
|
||||
|
@@ -19,6 +19,7 @@
|
||||
- iotop
|
||||
- lsof
|
||||
- rsync
|
||||
- xfsprogs
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
@@ -107,9 +108,10 @@
|
||||
become: yes
|
||||
copy:
|
||||
content: |
|
||||
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
|
||||
# deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
|
||||
dest: /etc/apt/sources.list
|
||||
deb http://archive.raspberrypi.org/debian/ bullseye main
|
||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||
#deb-src http://archive.raspberrypi.org/debian/ bullseye main
|
||||
dest: /etc/apt/sources.list.d/raspi.list
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
4
roles/ShadowArch/templates/netctl-tap.j2
Normal file
4
roles/ShadowArch/templates/netctl-tap.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
Description='A basic static ethernet connection'
|
||||
Interface={{ ipinterface }}
|
||||
Connection=ethernet
|
||||
IP=no
|
Reference in New Issue
Block a user