Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-03 21:47:07 +01:00
parent d484ad6b91
commit 20760ed973

View File

@ -465,73 +465,10 @@
content: |
# Add your configuration overrides on this file any configuration changes done to default.toml will be lost!
# Example:
#
# use these to log into the web UI
ui.web.username = "changeme"
ui.web.password = "changeme"
ui.display.enabled = true
ui.display.type = "displayhatmini"
main.custom_plugins = "{{ pwnagotchi.custom_plugin_dir }}"
main.plugins.led.enabled = false
main.plugins.morse_code.enabled = true
personality.deauth = false
ui.backgroundcolor="#000000"
ui.foregroundcolor="#ffffff"
ui.colormode="RGB"
main.whitelist = [
"EXAMPLE_NETWORK",
"ANOTHER_EXAMPLE_NETWORK",
"fo:od:ba:be:fo:od",
"fo:od:ba",
]
main.plugins.rss_voice.enabled = true
main.plugins.rss_voice.path = "/root/voice_rss"
main.plugins.rss_voice.feed.wait.url = "https://www.reddit.com/r/pwnagotchi/comments.rss"
main.plugins.rss_voice.feed.bored.url = "https://www.reddit.com/r/pwnagotchi.rss"
main.plugins.rss_voice.feed.sad.url = "https://www.reddit.com/r/showerthoughts.rss"
# ui.display.enabled = true
# ui.display.type = "waveshare_2"
when: not user_config.stat.exists
- name: set up pi user crontab to kick wifi.recon on bettercap
copy:
dest: /tmp/pi-crontab
content: |
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
*/5 * * * * /home/pi/bin/bcinfo.py -qw >/dev/null 2>&1
- name: install pi crontab
command: "crontab -u pi /tmp/pi-crontab"
args:
chdir: /tmp
register: pi-crontab
ignore_errors: true
- name: delete /tmp/pi-crontab
file:
state: absent
path: /tmp/pi-crontab
- name: Delete motd 10-uname
file:
state: absent