Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Conversation

@matej5
Copy link
Contributor

@matej5 matej5 commented Mar 4, 2025

No description provided.

@@ -1,10 +1,11 @@
---
dependencies:
- role: aws/aws_provision_ec2_keypair
Copy link
Member

Choose a reason for hiding this comment

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

Where are these commented out?

@@ -0,0 +1,74 @@
- name: Create stage on API gateway
Copy link
Member

Choose a reason for hiding this comment

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

Full stop at the end of this task name.

ansible.builtin.include_tasks: create_methods.yml
loop: "{{ aws_admin_tools.functions }}"

- name: Obtain all information for a single WAF
Copy link
Member

Choose a reason for hiding this comment

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

Same, missing full stop.

Copy link
Member

Choose a reason for hiding this comment

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

Actually, lots of missing full stops. Let's make sure all task names start with a capital letter and end in a full stop. For tidiness. 🙂

--rest-api-id "{{ _api_gate.id }}"
register: _api_res_list

- name: Setting prevoius command output into variable
Copy link
Member

Choose a reason for hiding this comment

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

Typo in 'previous'.

--region "{{ _aws_region }}"
register: _api_resource

- name: Setting prevoius command output into variable
Copy link
Member

Choose a reason for hiding this comment

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

Same 'previous' typo.

--output text
register: _acc_id

- name: Setting prevoius command output into variable
Copy link
Member

Choose a reason for hiding this comment

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

That 'previous' again. 🙂

Copy link
Member

Choose a reason for hiding this comment

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

Actually, looks like it's been copied and pasted lots of times...

ansible.builtin.command:
cmd: terraform apply -auto-approve
chdir: "{{ _ce_provision_build_tmp_dir }}"
- name: allocate a new elastic IP inside a VPC
Copy link
Member

Choose a reason for hiding this comment

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

Capital letter at start and full stop at end please.

@@ -0,0 +1,118 @@
---
Copy link
Member

Choose a reason for hiding this comment

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

Linting error? Weird.

ansible.builtin.set_fact:
_acc_id: "{{ _acc_id.stdout | from_json }}"

- name: List all API gateways.
Copy link
Member

Choose a reason for hiding this comment

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

Here's the linting issue!

@sonarqubecloud
Copy link

@matej5 matej5 merged commit 27cbcaf into 2.x Mar 19, 2025
5 checks passed
@matej5 matej5 deleted the n10-Creating-new-role-for-administration-PR-2.x branch March 19, 2025 16:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants