diff --git a/hosts.yml b/hosts.yml index 2e7953f..b46124b 100644 --- a/hosts.yml +++ b/hosts.yml @@ -40,7 +40,7 @@ datacenter: ansible_become_password: lacijaydee rhasspy: hosts: - 192.168.77.166 + 192.168.77.13[6:7] vars: ansible_user: admin ansible_ssh_pass: l4c1j4yd33Du5lo @@ -72,7 +72,7 @@ datacenter: ansible_python_interpreter: /usr/bin/python ansible_user: admin ansible_pass: l4c1j4yd33Du5lo - ansible_become_user: admin + ansible_become_user: root ansible_become_password: l4c1j4yd33Du5lo nas: hosts: diff --git a/playbooks/mailu_switch_to_second.yaml b/playbooks/mailu_switch_to_second.yaml index da6bb76..4db9042 100644 --- a/playbooks/mailu_switch_to_second.yaml +++ b/playbooks/mailu_switch_to_second.yaml @@ -24,7 +24,7 @@ # - 180 - name: Start mailu containers command: docker start {{ item }} - become: true + become: yes when: inventory_hostname in groups['raspberry'] loop: - nginx-app-1