The latter caused the current working directory to change, so the play
updated =Institute/private/vars.pl= instead of =private/vars.pl=.
Roles expect their CWD to be the same as the CWD of the play that
executed them (thus ~import_role~ does not frob the CWD?).
#+CAPTION: [[file:playbooks/check-inst-vars.yml][=playbooks/check-inst-vars.yml=]]
#+BEGIN_SRC conf :tangle playbooks/check-inst-vars.yml
-- import_playbook: ../Institute/playbooks/check-inst-vars.yml
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - import_role:
+ name: check-inst-vars
#+END_SRC
** The Upgrade Command
-- import_playbook: ../Institute/playbooks/check-inst-vars.yml
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - import_role:
+ name: check-inst-vars