We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c133de3 commit 24070e9Copy full SHA for 24070e9
1 file changed
Ansible/roles/update_antiz_website/tasks/main.yml
@@ -6,7 +6,7 @@
6
msg: "The 'env' variable should be equal to 'dev' or 'prod'"
7
when: env not in ['dev','prod']
8
9
-- name: "Update antiz.fr website - {{ hostvars[item].branch }}"
+- name: "Update antiz.fr website - {{ env }}"
10
ansible.builtin.shell:
11
cmd: git fetch origin && git checkout origin/{{ hostvars[item].branch }} -- public
12
register: update_antiz_fr
0 commit comments