Skip to content

Commit d5f8691

Browse files
committed
Apply minor fixes
1 parent 834997a commit d5f8691

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/modules/install_from_github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def set_mode_owner_group(module: AnsibleModule, path: str, mode, owner, group):
270270
set_mode_owner_group(module, os.path.join(path, item), mode, owner, group)
271271

272272

273-
def download_asset(module: AnsibleModule, file_name: str, url: str, move_rules: dict):
273+
def download_asset(module: AnsibleModule, file_name: str, url: str, move_rules: List[dict]):
274274
with tempfile.TemporaryDirectory() as temp_dir:
275275
file_path = os.path.join(temp_dir, file_name)
276276
urllib.request.urlretrieve(url, file_path)

readme_src/README.md.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Alternatively, you may manually install the `install_from_github` module itself
1919

2020
```shell
2121
# Create the user custom module directory
22-
mkdir ~/.ansible/plugins/modules
22+
mkdir -p ~/.ansible/plugins/modules
2323

2424
# Install the install_from_github module into the user custom module directory
2525
curl -o ~/.ansible/plugins/modules/install_from_github.py https://raw.githubusercontent.com/QueraTeam/ansible-github/main/plugins/modules/install_from_github.py

0 commit comments

Comments
 (0)