[FMN-old] Fix playbook variable undefined error

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-05-18 15:05:42 +02:00
parent d193f58f56
commit fccfb4b0c9
2 changed files with 6 additions and 2 deletions

View file

@ -3,7 +3,9 @@
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs_backend:notifs_backend_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "notifs_backend:notifs_backend_stg"
- name: dole out the generic configuration
hosts: notifs_backend:notifs_backend_stg

View file

@ -3,7 +3,9 @@
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs_web:notifs_web_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "notifs_backend:notifs_backend_stg"
- name: make the box be real
hosts: notifs_web:notifs_web_stg