From 23d104f73bbf8406e7350a548af83ec233ed8f20 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 7 Mar 2018 19:07:34 +0545 Subject: [PATCH] examples: beginnings of repro for issue #109 --- examples/playbook/issue_109.yml | 8 ++++++++ examples/playbook/roles/issue_109/tasks/main.yml | 9 +++++++++ .../playbook/roles/issue_109_add_ssh_key/tasks/main.yml | 4 ++++ .../playbook/roles/issue_109_gather_facts/tasks/main.yml | 4 ++++ 4 files changed, 25 insertions(+) create mode 100644 examples/playbook/issue_109.yml create mode 100644 examples/playbook/roles/issue_109/tasks/main.yml create mode 100644 examples/playbook/roles/issue_109_add_ssh_key/tasks/main.yml create mode 100644 examples/playbook/roles/issue_109_gather_facts/tasks/main.yml diff --git a/examples/playbook/issue_109.yml b/examples/playbook/issue_109.yml new file mode 100644 index 00000000..15e66c21 --- /dev/null +++ b/examples/playbook/issue_109.yml @@ -0,0 +1,8 @@ +--- + +# Reproduction for issue #109. + +- hosts: all + roles: + - issue_109 + gather_facts: no diff --git a/examples/playbook/roles/issue_109/tasks/main.yml b/examples/playbook/roles/issue_109/tasks/main.yml new file mode 100644 index 00000000..6cb994ae --- /dev/null +++ b/examples/playbook/roles/issue_109/tasks/main.yml @@ -0,0 +1,9 @@ +--- + +- name: Decrypt SSH-Keys + include_role: + name: issue_109_add_ssh_key + +- name: Gather Facts + include_role: + name: issue_109_gather_facts diff --git a/examples/playbook/roles/issue_109_add_ssh_key/tasks/main.yml b/examples/playbook/roles/issue_109_add_ssh_key/tasks/main.yml new file mode 100644 index 00000000..69736565 --- /dev/null +++ b/examples/playbook/roles/issue_109_add_ssh_key/tasks/main.yml @@ -0,0 +1,4 @@ +--- + +- name: Stub + debug: msg= diff --git a/examples/playbook/roles/issue_109_gather_facts/tasks/main.yml b/examples/playbook/roles/issue_109_gather_facts/tasks/main.yml new file mode 100644 index 00000000..6d4d0d9f --- /dev/null +++ b/examples/playbook/roles/issue_109_gather_facts/tasks/main.yml @@ -0,0 +1,4 @@ +--- + +- name: Gather facts + action: setup