diff --git a/hosts.yml b/hosts.yml index 6e7b16c..b86e418 100644 --- a/hosts.yml +++ b/hosts.yml @@ -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 diff --git a/playbooks/05_install_rhasspy.yml b/playbooks/05_install_rhasspy.yml index 6dc8884..bcb1b6e 100644 --- a/playbooks/05_install_rhasspy.yml +++ b/playbooks/05_install_rhasspy.yml @@ -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: diff --git a/playbooks/install_mqtt_srv.yml b/playbooks/install_mqtt_srv.yml index 39b5678..f1b6c49 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -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' }}"