From 8a2b35ac725fdcbb14a3f0cb74cbd15423988dd8 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 1 Nov 2023 01:46:26 +0100 Subject: [PATCH] upt playbook --- hosts.yml | 2 +- playbooks/mailu_switch_to_second.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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