Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-16 01:44:02 +02:00
parent ed79fc138e
commit 91c8547c46
2 changed files with 38 additions and 18 deletions

View File

@ -1,6 +1,7 @@
---
- hosts:
- all
- 127.0.0.1
gather_facts: true
become: true
vars:
pwnagotchi:
@ -137,8 +138,20 @@
- libpcap-dev
- libusb-1.0-0-dev
- libnetfilter-queue-dev
environment:
ARCHFLAGS: "-arch armv8"
tasks:
- name: System details
debug:
msg="{{ item }}"
with_items:
- "{{ ansible_distribution }}"
- "{{ ansible_distribution_version }}"
- "{{ ansible_distribution_major_version }}"
- "{{ ansible_architecture }}"
- "{{ ansible_machine }}"
- name: change hostname
lineinfile:
dest: /etc/hostname