diff --git a/hosts.yml b/hosts.yml index b46124b..167bcb5 100644 --- a/hosts.yml +++ b/hosts.yml @@ -70,7 +70,7 @@ datacenter: 192.168.77.246 vars: ansible_python_interpreter: /usr/bin/python - ansible_user: admin + ansible_user: jd ansible_pass: l4c1j4yd33Du5lo ansible_become_user: root ansible_become_password: l4c1j4yd33Du5lo diff --git a/playbooks/mailu_switch_to_second.yaml b/playbooks/mailu_switch_to_second.yaml index 4db9042..da6bb76 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: yes + become: true when: inventory_hostname in groups['raspberry'] loop: - nginx-app-1