added handlers for rebuilding bitcoin container and handling avahi
restarts
This commit is contained in:
@@ -43,23 +43,18 @@
|
||||
path: /etc/nsswitch.conf
|
||||
regexp: '^hosts:'
|
||||
line: 'hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname'
|
||||
notify: restart_avahi
|
||||
|
||||
- name: Set hostname to bitb0x
|
||||
become: yes
|
||||
become_method: sudo
|
||||
ansible.builtin.hostname:
|
||||
name: bitb0x
|
||||
notify: restart_avahi
|
||||
|
||||
- name: Refresh gpg keys
|
||||
shell: gpg --keyserver hkps://keys.openpgp.org --refresh-keys
|
||||
|
||||
- name: Enable Avahi Service
|
||||
become: yes
|
||||
become_method: sudo
|
||||
ansible.builtin.systemd_service:
|
||||
name: avahi-daemon
|
||||
state: restarted
|
||||
|
||||
- name: Enable Zerotier
|
||||
become: yes
|
||||
become_method: sudo
|
||||
|
||||
Reference in New Issue
Block a user