You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! If, in a playbook, I first say tasks_from: group, it works perfectly. However, if I, after that, in another task, say tasks_from: constraint, it fails, e.g.: "The target XML source '/tmp/ansible.Vme64f.xml' does not exist." The 'post' task included in group.yml removes the temporary config file, whereas constraint.yml doesn't include the pre.yml (or post.yml) files. And if I run the 'constraint' task first, I get the error that 'pcmk_config' is undefined, which it is, since it never gets defined. Suggested solution: add include_tasks: pre.yml and include_tasks: post.yml to the constraint.yml file, as it is in group.yml, resource.yml and advanced_resource.yml.
The text was updated successfully, but these errors were encountered:
Hi! If, in a playbook, I first say tasks_from: group, it works perfectly. However, if I, after that, in another task, say tasks_from: constraint, it fails, e.g.: "The target XML source '/tmp/ansible.Vme64f.xml' does not exist." The 'post' task included in group.yml removes the temporary config file, whereas constraint.yml doesn't include the pre.yml (or post.yml) files. And if I run the 'constraint' task first, I get the error that 'pcmk_config' is undefined, which it is, since it never gets defined. Suggested solution: add include_tasks: pre.yml and include_tasks: post.yml to the constraint.yml file, as it is in group.yml, resource.yml and advanced_resource.yml.
The text was updated successfully, but these errors were encountered: