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 ansible_become_password: l4c1j4yd33Du5lo
rhasspy: rhasspy:
hosts: hosts:
192.168.77.16[6:7] 192.168.77.224
vars: vars:
ansible_user: jd ansible_user: jd
ansible_ssh_pass: q ansible_ssh_pass: q

View File

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

View File

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