diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-07-31 07:28:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-07-31 07:28:35 +0300 |
commit | 0e853870c2fece353cab23b4d3107215d9e3b0f9 (patch) | |
tree | 4c95b61d97b6b9e77f58b1621c953bed8d201525 | |
parent | 0d57a52bb6323f2621b6eeb708d8165820b10d21 (diff) | |
download | puomi-0e853870c2fece353cab23b4d3107215d9e3b0f9.tar.gz |
playbook works
Sponsored-by: author
-rw-r--r-- | hosts | 2 | ||||
-rw-r--r-- | puomi-playbook.yml | 14 |
2 files changed, 5 insertions, 11 deletions
@@ -0,0 +1,2 @@ +[all] +puomi diff --git a/puomi-playbook.yml b/puomi-playbook.yml index f99a1ef..3a06be7 100644 --- a/puomi-playbook.yml +++ b/puomi-playbook.yml @@ -1,6 +1,7 @@ # Ansible playbook for installing a router. - hosts: puomi + remote_user: root tasks: - name: "add contrib and non-free to APT sources, for firmware" apt_repository: @@ -29,7 +30,7 @@ copy: content: | dhcp-range=10.1.1.10,10.1.1.250,255.255.255.0,1h - host-record=puomi,10.1.1.1 + host-record={{ inventory_hostname }},10.1.1.1 interface=br0 interface=lo max-cache-ttl=30 @@ -86,7 +87,7 @@ Kind=bridge dest: /etc/systemd/network/br0.netdev - - name: "add wired devices to br0" + - name: "add LAN devices to br0" copy: content: | [Match] @@ -112,15 +113,6 @@ vars: ansible_python_interpreter: /usr/bin/python3 - sane_debian_system_version: 2 - sane_debian_system_codename: bullseye - sane_debian_system_timezone: Europe/Helsinki - sane_debian_system_sources_lists: - - repo: | - deb http://deb.debian.org/debian bullseye contrib non-free - - unix_users_version: 2 - wifi_essid: Valkama2 wifi_country_code: FI wifi_passphrase: Oomam2ah |