Imported Playbook does not run

Hi all,

Before going to GitHub, I’d like to confirm whether what I’m facing is the correct, expected behavior or not.

I have two playbooks, one that clones a git repository to the local machine and one that looks for files in the downloaded repository. What I want is to import the playbook that clones the repo into the other one. Here’s what I mean:

git_repo.yml

From the error message it seem the 2nd play is not run.

Hi Brian,

Thanks for taking the time :slight_smile:

The git repository is not cloned, so I assume it didn’t run - in fact, it doesn’t even show the [TASK] section in the output.

What version of ansible are you using?

I’m using 2.4.0

I’ve just upgraded to 2.4.2, but the same happens :confused:

Hi there,

I was running the playbook with a certain set of tags that didn’t match any in the imported playbook’s tasks.