Skip to content

Commit

Permalink
Add back in broken linting rule (#515)
Browse files Browse the repository at this point in the history
* Add back in broken linting rile

* Add in undefined variable
  • Loading branch information
Tompage1994 authored Mar 8, 2023
1 parent 511a566 commit 020326f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ skip_list:
- fqcn[keyword]
- meta-runtime # This collection with the appropriate awx.awx or ansible.controller still works with older ansible.
- role-name[path]
warn_list:
- jinja[invalid] # Temporarily adding this due to https://github.com/ansible/ansible-lint/issues/3048
kinds:
- playbooks: "**/examples/templates/*.{yml,yaml}"
- playbooks: "**/examples/*.{yml,yaml}"
Expand Down
9 changes: 5 additions & 4 deletions roles/filetree_create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ That role requires the following:

The following variables are required for that role to work properly:

| Variable Name | Default Value | Required | Description |
| :------------ | :-----------: | :------: | :---------- |
| `controller_api_plugin` | `ansible.controller` | yes | Full path for the controller_api_plugin to be used. <br/> Can have two possible values: <br/>&nbsp;&nbsp;- awx.awx.controller_api # For the community Collection version <br/>&nbsp;&nbsp;- ansible.controller.controller_api # For the Red Hat Certified Collection version|
| `output_path` | `/tmp/filetree_output` | yes | The path to the output directory where all the generated `yaml` files with the corresponding Objects as code will be written to. |
| Variable Name | Default Value | Required | Type | Description |
| :------------ | :-----------: | :------: | :------: | :---------- |
| `controller_api_plugin` | `ansible.controller` | yes | str | Full path for the controller_api_plugin to be used. <br/> Can have two possible values: <br/>&nbsp;&nbsp;- awx.awx.controller_api # For the community Collection version <br/>&nbsp;&nbsp;- ansible.controller.controller_api # For the Red Hat Certified Collection version|
| `output_path` | `/tmp/filetree_output` | yes | str | The path to the output directory where all the generated `yaml` files with the corresponding Objects as code will be written to. |
| `input_tag` | `['all']` | no | bool | The tags which are applied to the 'sub-roles'. If 'all' is in the list (the default value) then all roles will be called. |

## Dependencies

Expand Down
3 changes: 3 additions & 0 deletions roles/filetree_create/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ query_controller_api_max_objects: 10000

controller_configuration_filetree_create_secure_logging: "{{ controller_configuration_secure_logging | default('false') }}"

input_tag:
- all

...

0 comments on commit 020326f

Please sign in to comment.