-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from shadowman-lab/bot/ansible-lint/89077ac3730…
…109c69a2d0b3a96e1a58051476446 Ansible code bot recommendations
- Loading branch information
Showing
22 changed files
with
41 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
- name: Create and wait for approval of a change request | ||
hosts: localhost | ||
gather_facts: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Cancel a change request | ||
hosts: localhost | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_cr: "canceled" | ||
servicenow_cr: canceled | ||
|
||
roles: | ||
- servicenow_change_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Close a change request | ||
hosts: localhost | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_cr: "close" | ||
servicenow_cr: close | ||
|
||
roles: | ||
- servicenow_change_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Create a change request | ||
hosts: all | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_cr: "create" | ||
servicenow_cr: create | ||
|
||
roles: | ||
- servicenow_change_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Delete a change request | ||
hosts: localhost | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_cr: "absent" | ||
servicenow_cr: absent | ||
|
||
roles: | ||
- servicenow_change_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Implement a change request | ||
hosts: localhost | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_cr: "implement" | ||
servicenow_cr: implement | ||
|
||
roles: | ||
- servicenow_change_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
- name: Update a catalog item in ServiceNow | ||
hosts: localhost | ||
gather_facts: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
- name: Update CMDB table | ||
hosts: "{{ vm_name | default('all') }}" | ||
gather_facts: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Create an incident in ServiceNow using facts from a host | ||
hosts: "{{ vm_name | default('all')}}" | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_ticket: "create" | ||
servicenow_ticket: create | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Close an incident in ServiceNow | ||
hosts: all | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_ticket: "close" | ||
servicenow_ticket: close | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Create an incident in ServiceNow from EDA | ||
hosts: "{{ vm_name | default('all')}}" | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_ticket: "createeda" | ||
servicenow_ticket: createeda | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
- name: Find an incident in ServiceNow | ||
hosts: localhost | ||
gather_facts: false | ||
|
||
vars: | ||
servicenow_ticket: "find" | ||
servicenow_ticket: find | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- name: Update an incident in ServiceNow | ||
hosts: all | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
servicenow_ticket: "update" | ||
servicenow_ticket: update | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
--- | ||
- name: Create an incident in ServiceNow for IP Blocking | ||
hosts: localhost | ||
gather_facts: false | ||
connection: local | ||
|
||
vars: | ||
incident_description: "AAP IP Block" | ||
incident_description: AAP IP Block | ||
sn_urgency: high | ||
sn_impact: high | ||
servicenow_ticket: "create" | ||
servicenow_ticket: create | ||
|
||
roles: | ||
- servicenow_ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
- name: Create a servicenow admin user | ||
hosts: localhost | ||
gather_facts: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
collections: | ||
|
||
- name: community.general | ||
|
||
- name: servicenow.itsm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
servicenow_cr: "create" | ||
servicenow_cr: create | ||
to_email: "{{ to_emails.split(',') }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
servicenow_ticket: "create" | ||
servicenow_ticket: create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters