Update pwnagotchi.yml
This commit is contained in:
parent
3e0f3dcb8a
commit
77362bc530
@ -109,11 +109,13 @@
|
|||||||
- python3-rpi.gpio
|
- python3-rpi.gpio
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: change hostname
|
- name: Create hostname
|
||||||
hostname:
|
copy:
|
||||||
name: "{{pwnagotchi.hostname}}"
|
dest: "/etc/hostname"
|
||||||
when: lookup('file', '/etc/hostname') == "raspberrypi"
|
mode: 0644
|
||||||
register: hostname
|
owner: root
|
||||||
|
content: |
|
||||||
|
line pwnagotchi
|
||||||
|
|
||||||
- name: add hostname to /etc/hosts
|
- name: add hostname to /etc/hosts
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user