-
Notifications
You must be signed in to change notification settings - Fork 5
n10-Creating-new-role-for-administration #2350
Conversation
| @@ -1,10 +1,11 @@ | |||
| --- | |||
| dependencies: | |||
| - role: aws/aws_provision_ec2_keypair | |||
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, missing full stop.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That 'previous' again. 🙂
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 @@ | |||
| --- | |||
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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!
|



No description provided.