-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the ansible facts are available
- Loading branch information
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
--- | ||
- name: Ensure ansible_facts used by role | ||
setup: | ||
gather_subset: min | ||
when: not ansible_facts.keys() | list | | ||
intersect(__sshd_required_facts) == __sshd_required_facts | ||
|
||
- name: Include common vars | ||
include_vars: vars/common.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
- name: Set common variables and ensure basic facts are gathered | ||
include_tasks: set_common_vars.yml | ||
|
||
- include_tasks: set_common_vars.yml | ||
- name: Set platform/version specific variables | ||
include_tasks: variables.yml | ||
|
||
- include_tasks: variables.yml | ||
|
||
- include_tasks: install.yml | ||
- name: Execute the actual role tasks | ||
include_tasks: install.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters