bitwarden

This commit is contained in:
jaydee 2024-09-20 14:56:09 +02:00
parent a5a260d9ed
commit edf96e2bd6
3 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@ datacenter:
ansible_become_password: l4c1j4yd33Du5lo
rhasspy:
hosts:
192.168.77.16[6:7]
192.168.77.224
vars:
ansible_user: jd
ansible_ssh_pass: q

View File

@ -1,7 +1,6 @@
- hosts: rhasspy
name: Install rhasspy
become: true
become_user: root
tasks:
- name: Set a hostname
ansible.builtin.hostname:
@ -113,7 +112,7 @@
mode: '0755'
- name: Upload config
ansible.builtin.copy:
src: /etc/ansible/playbooks/files/conf/rhasspy/profile.json
src: conf/rhasspy/profile.json
dest: /home/jd/.config/rhasspy/profiles/en/profile.json
owner: jd
group: jd
@ -132,9 +131,9 @@
name: jd
append: true
groups: docker
- name: Install pip modules
ansible.builtin.pip:
name: docker
# - name: Install pip modules
# ansible.builtin.pip:
# name: docker
- name: Pull image
community.docker.docker_image:

View File

@ -91,6 +91,7 @@
ansible.builtin.service:
name: mqtt_srv.service
state: restarted
enabled: true
when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router']
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"