Skip to content

Commit

Permalink
Update GitHub Actions versions and module options in sanity_tests.yml…
Browse files Browse the repository at this point in the history
… and reservation.py
  • Loading branch information
bvargasre committed Jul 20, 2024
1 parent d55c1d4 commit 2335453
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sanity_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
env:
NAMESPACE: cisco
COLLECTION_NAME: ise
Expand All @@ -21,15 +22,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: CiscoISE/ansible-ise
- name: Create directory
run: mkdir -p ./ansible_collections/${{env.NAMESPACE}}
- name: Move repository
run: mv ./CiscoISE/ansible-ise ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install ansible-base (${{ matrix.ansible }})
Expand Down
6 changes: 1 addition & 5 deletions plugins/modules/reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
clientID:
description: ClientID path parameter. Unique name for a Client.
type: str
clientId:
description: Unique ID of the given client.
type: str
clientName:
description: Name of the given client.
type: str
Expand Down Expand Up @@ -71,7 +68,6 @@
ise_verify: "{{ise_verify}}"
state: present
clientID: string
clientId: string
endIndex: 0
startIndex: 0
Expand All @@ -93,7 +89,7 @@
type: dict
sample: >
{
"clientId": "string",
"clientID": "string",
"clientName": "string",
"endIndex": 0,
"startIndex": 0
Expand Down
12 changes: 4 additions & 8 deletions plugins/modules/support_bundle_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
fileName:
description: Support Bundle Download's fileName.
type: str
filename:
description: The filename used to save the download file.
type: str
saveFile:
description: Enable or disable automatic file creation of raw response.
type: bool
Expand All @@ -48,8 +45,7 @@
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
dirPath: /tmp/downloads/
fileName: string
filename: download_filename.extension
fileName: download_filename.extension
saveFile: true
"""
Expand All @@ -61,9 +57,9 @@
type: dict
sample: >
{
"data": "filecontent",
"filename": "filename",
"data": "fileContent",
"fileName": "fileName",
"dirpath": "download/directory",
"path": "download/directory/filename"
"path": "download/directory/fileName"
}
"""

0 comments on commit 2335453

Please sign in to comment.