Skip to content

Commit 10abae7

Browse files
authored
New role to upgrade config files' format and some fixes (#124)
* New role to upgrade config files and some fixes * fix lintering after rebase * fix lintering after rebase
1 parent ac4b350 commit 10abae7

File tree

76 files changed

+5389
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+5389
-43
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# What does this PR do?
33
<!--- Brief explanation of the code or documentation change you've made -->
44

5-
# How should this be tested?
5+
## How should this be tested?
66
<!--- Automated tests are preferred, but not always doable - especially for infrastructure. Include commands to run your new feature, and also post-run commands to validate that it worked. (please use code blocks to format code samples) -->
77

8-
# Is there a relevant Issue open for this?
8+
## Is there a relevant Issue open for this?
99
<!--- Provide a link to any open issues that describe the problem you are solving. -->
1010
resolves #[number]
1111

12-
# Other Relevant info, PRs, etc
12+
## Other Relevant info, PRs, etc
1313
<!--- Please provide link to other PRs that may be related (blocking, resolves, etc. etc.) -->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ ansible.cfg
99
vault-aap-controller.yaml
1010
.ansible/
1111
.vault-password
12+
sample_25

.yamllint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rules:
1414
min-spaces-from-content: 1 # prettier compatibility
1515
comments-indentation: false
1616
document-start: disable
17-
document-end: {present: true}
17+
document-end: { present: true }
1818
indentation:
1919
level: error
2020
# Require indentation https://redhat-cop.github.io/automation-good-practices/#_yaml_and_jinja2_syntax

EXPORT_README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ awx export --conf.host https://localhost --conf.username admin --conf.password *
3636
CONTROLLER_HOST: https://localhost
3737
CONTROLLER_USERNAME: admin
3838
CONTROLLER_PASSWORD: password
39-
CONTROLLER_VERIFY_SSL: False
39+
CONTROLLER_VERIFY_SSL: false
4040

4141
tasks:
4242
- name: Export projects
@@ -50,7 +50,7 @@ awx export --conf.host https://localhost --conf.username admin --conf.password *
5050

5151
- name: Export projects to file
5252
ansible.builtin.copy:
53-
content: "{{ export_results | to_nice_yaml(width=50, explicit_start=True, explicit_end=True) }}"
53+
content: "{{ export_results | to_nice_yaml(width=50, explicit_start=true, explicit_end=true) }}"
5454
dest: projects.yaml
5555
...
5656
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- Set the correct API URL for the controller applications endpoint
4+
...
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- There was an indentation error in the output at the `inputs` and `injectors` sections. The template has been fixed.
4+
...
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- Change connection variables to AAP from 'controller_*' to 'aap_*' when exporting the 'inventory_sources'.
4+
...
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- Fix the exported contents of survey's choices in workflow job templates to avoid to have the clause '!unsafe' inside the generated string.
4+
...
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- There was an indentation error in the output at the `inputs` and `injectors` sections. The template has been fixed.
4+
...
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bugfixes:
3+
- There was a format error in the output after each key occurence. The template has been fixed.
4+
...

0 commit comments

Comments
 (0)