diff --git a/.github/workflows/roles.yml b/.github/workflows/roles.yml index 2fc2d49..1350487 100644 --- a/.github/workflows/roles.yml +++ b/.github/workflows/roles.yml @@ -17,7 +17,15 @@ jobs: - role: ansible-role-minimal - role: ansible-role-version - role: ansible-role-default - generate_config_file: generate_config.yml + generate_config_file: generate_config_only_readme.yml + - role: ansible-role-default + generate_config_file: generate_config_no_tox.yml + - role: ansible-role-default + generate_config_file: generate_config_no_pre_commit.yml + - role: ansible-role-default + generate_config_file: generate_config_no_gitlab.yml + - role: ansible-role-default + generate_config_file: generate_config_no_github.yml steps: - name: checkout diff --git a/tests/ansible-role-default/generate_config.yml b/tests/ansible-role-default/generate_config.yml deleted file mode 100644 index b02c768..0000000 --- a/tests/ansible-role-default/generate_config.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- - -generate_readme: no diff --git a/tests/ansible-role-default/generate_config_no_gihub.yml b/tests/ansible-role-default/generate_config_no_gihub.yml new file mode 100644 index 0000000..871a17e --- /dev/null +++ b/tests/ansible-role-default/generate_config_no_gihub.yml @@ -0,0 +1,26 @@ +--- + +# Don't generate GitHub CI configuration file +generate_github_settings: no +generate_github_action_molecule: no +generate_github_action_galaxy: no +generate_github_action_todo: no +generate_github_funding: no +generate_github_issue_template: no +generate_github_feature_template: no + +# The rest of the files generated are enabled by default. +# generate_gitignore: yes +# generate_yamllint: yes +# generate_pre_commit: yes +# generate_readme: yes +# generate_ansible_lint: yes +# generate_tox: yes +# generate_license: yes +# generate_security: yes +# generate_molecule: yes +# generate_contributing: yes +# generate_gitlab_ci: yes +# generate_requirements_txt: yes +# generate_requirements2png: yes +# generate_install_pre_commit: yes diff --git a/tests/ansible-role-default/generate_config_no_gitlab.yml b/tests/ansible-role-default/generate_config_no_gitlab.yml new file mode 100644 index 0000000..81f64ee --- /dev/null +++ b/tests/ansible-role-default/generate_config_no_gitlab.yml @@ -0,0 +1,26 @@ +--- + +# Don't generate GitLab CI configuration file +generate_gitlab_ci: no + +# The rest of the files generated are enabled by default. +# generate_gitignore: yes +# generate_yamllint: yes +# generate_pre_commit: yes +# generate_readme: yes +# generate_ansible_lint: yes +# generate_tox: yes +# generate_github_settings: yes +# generate_license: yes +# generate_security: yes +# generate_molecule: yes +# generate_contributing: yes +# generate_github_action_molecule: yes +# generate_github_action_galaxy: yes +# generate_github_action_todo: yes +# generate_requirements_txt: yes +# generate_requirements2png: yes +# generate_github_funding: yes +# generate_github_issue_template: yes +# generate_github_feature_template: yes +# generate_install_pre_commit: yes diff --git a/tests/ansible-role-default/generate_config_no_pre_commit.yml b/tests/ansible-role-default/generate_config_no_pre_commit.yml new file mode 100644 index 0000000..d061aef --- /dev/null +++ b/tests/ansible-role-default/generate_config_no_pre_commit.yml @@ -0,0 +1,26 @@ +--- + +# Do not generate pre-commit configuration file. +generate_install_pre_commit: no + +# The rest of the files generated are enabled by default. +# generate_gitignore: yes +# generate_yamllint: yes +# generate_pre_commit: yes +# generate_readme: yes +# generate_ansible_lint: yes +# generate_tox: yes +# generate_github_settings: yes +# generate_license: yes +# generate_security: yes +# generate_molecule: yes +# generate_contributing: yes +# generate_github_action_molecule: yes +# generate_github_action_galaxy: yes +# generate_github_action_todo: yes +# generate_gitlab_ci: yes +# generate_requirements_txt: yes +# generate_requirements2png: yes +# generate_github_funding: yes +# generate_github_issue_template: yes +# generate_github_feature_template: yes diff --git a/tests/ansible-role-default/generate_config_no_tox.yml b/tests/ansible-role-default/generate_config_no_tox.yml new file mode 100644 index 0000000..723d112 --- /dev/null +++ b/tests/ansible-role-default/generate_config_no_tox.yml @@ -0,0 +1,26 @@ +--- + +# Do not generate tox.ini file. +generate_tox: no + +# The rest of the files generated are enabled by default. +# generate_gitignore: yes +# generate_yamllint: yes +# generate_pre_commit: yes +# generate_readme: yes +# generate_ansible_lint: yes +# generate_github_settings: yes +# generate_license: yes +# generate_security: yes +# generate_molecule: yes +# generate_contributing: yes +# generate_github_action_molecule: yes +# generate_github_action_galaxy: yes +# generate_github_action_todo: yes +# generate_gitlab_ci: yes +# generate_requirements_txt: yes +# generate_requirements2png: yes +# generate_github_funding: yes +# generate_github_issue_template: yes +# generate_github_feature_template: yes +# generate_install_pre_commit: yes diff --git a/tests/ansible-role-default/generate_config_only_readme.yml b/tests/ansible-role-default/generate_config_only_readme.yml new file mode 100644 index 0000000..ed44dd3 --- /dev/null +++ b/tests/ansible-role-default/generate_config_only_readme.yml @@ -0,0 +1,26 @@ +--- + +# This only generates the README.md file. +generate_readme: yes + +# The rest of the files generated are disabled. +generate_gitignore: no +generate_yamllint: no +generate_pre_commit: no +generate_ansible_lint: no +generate_tox: no +generate_github_settings: no +generate_license: no +generate_security: no +generate_molecule: no +generate_contributing: no +generate_github_action_molecule: no +generate_github_action_galaxy: no +generate_github_action_todo: no +generate_gitlab_ci: no +generate_requirements_txt: no +generate_requirements2png: no +generate_github_funding: no +generate_github_issue_template: no +generate_github_feature_template: no +generate_install_pre_commit: no