Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add playbook docs #86

Merged
merged 12 commits into from
Aug 29, 2023
Merged

Add playbook docs #86

merged 12 commits into from
Aug 29, 2023

Conversation

hakbailey
Copy link
Collaborator

@hakbailey hakbailey commented Aug 17, 2023

SUMMARY

The goal for this PR was to add documentation for the playbooks and rulebooks in this repo, which is included. As part of that documentation, some bugs were found and addressed to ensure the playbooks and rulebooks work as documented.

ISSUE TYPE
  • Documentation
  • Bugfix

@hakbailey hakbailey marked this pull request as draft August 17, 2023 22:20
@hakbailey hakbailey force-pushed the add-playbook-docs branch 3 times, most recently from 46aecb8 to dacdbaa Compare August 22, 2023 18:19
@hakbailey hakbailey marked this pull request as ready for review August 22, 2023 18:36
ansible-rulebook cannot currently find playbooks in subdirectories under
the playbooks directory when calling them using FQCN. Moving the
rulebook to the recommended extensions/eda/rulebooks directory requires
that we call playbooks via FQCN since we also cannot use relative paths
(ansible-rulebook interprets relative paths from the working directory
where ansible-rulebook is called, not from the rulebook location).
Copy link
Contributor

@GomathiselviS GomathiselviS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hakbailey , I was wondering if it would be a good idea to add the data type of the playbook variables to the READMEs inside the playbooks folder. It could help users better understand what types of data they can use and how to properly format it. What do you think?

@hakbailey
Copy link
Collaborator Author

Hi @hakbailey , I was wondering if it would be a good idea to add the data type of the playbook variables to the READMEs inside the playbooks folder. It could help users better understand what types of data they can use and how to properly format it. What do you think?

Yeah I think that's a great idea! Will add.

@hakbailey hakbailey merged commit f245c91 into redhat-cop:main Aug 29, 2023
20 checks passed
@hakbailey hakbailey deleted the add-playbook-docs branch August 29, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants