a9322c04b6
Renames the role to upload-forge because you can actually run your own Forge server if you want. This patch adds a custom module to the upload-forge role that provides the "forge_upload" module. This directly interacts with the a Forge API to upload the module. The only dependency is that the python requests module is installed. Change-Id: I5749364bd2c29ad6df866c2bd5a3584c8419f709
14 lines
349 B
YAML
14 lines
349 B
YAML
- name: Check required variables
|
|
assert:
|
|
that:
|
|
- "forge_username is defined"
|
|
- "forge_password is defined"
|
|
- "forge_tarball is defined"
|
|
|
|
- name: Upload module to Forge
|
|
forge_upload:
|
|
username: "{{ forge_username }}"
|
|
password: "{{ forge_password }}"
|
|
tarball: "{{ forge_tarball }}"
|
|
forgeapi: "{{ forge_url }}"
|