-
Notifications
You must be signed in to change notification settings - Fork 25
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 #40 from RedHatSatellite/rel310
Release 3.1.0
- Loading branch information
Showing
154 changed files
with
12,529 additions
and
9,631 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
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Restore pip cache | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | ||
|
@@ -77,7 +77,7 @@ jobs: | |
with: | ||
python-version: "3.8" | ||
- name: Restore pip cache | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | ||
|
@@ -101,7 +101,7 @@ jobs: | |
with: | ||
python-version: "3.8" | ||
- name: Restore pip cache | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | ||
|
@@ -126,7 +126,7 @@ jobs: | |
with: | ||
python-version: "3.8" | ||
- name: Restore pip cache | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | ||
|
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 |
---|---|---|
|
@@ -14,3 +14,4 @@ venv/ | |
docs/plugins/ | ||
docs/_build/ | ||
changelogs/.plugin-cache.yaml | ||
importer_result.json |
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 |
---|---|---|
|
@@ -4,7 +4,9 @@ Anton <[email protected]> <[email protected]> | |
Bernhard Hopfenmüller <[email protected]> <[email protected]> | ||
Bernhard Hopfenmüller <[email protected]> <[email protected]> | ||
Baptiste Agasse <[email protected]> <[email protected]> | ||
Baptiste Agasse <[email protected]> <[email protected]> | ||
Christoffer Reijer <[email protected]> <[email protected]> | ||
Christoffer Reijer <[email protected]> <[email protected]> | ||
Eric D. Helms <[email protected]> <[email protected]> | ||
Manisha Singhal <[email protected]> <[email protected]> | ||
Matthias Dellweg <[email protected]> <[email protected]> | ||
|
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
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 |
---|---|---|
|
@@ -65,19 +65,21 @@ authors: | |
- "achevalet <[email protected]>" | ||
- "calvingsmith <[email protected]>" | ||
- "furhouse <[email protected]>" | ||
- "gardar <[email protected]>" | ||
- "igramic <[email protected]>" | ||
- "jerrejkw <[email protected]>" | ||
- "marco <[email protected]>" | ||
- "metalcated <[email protected]>" | ||
- "russianguppie <[email protected]>" | ||
- "willtome <[email protected]>" | ||
version: "3.0.0" | ||
version: "3.1.0" | ||
license: | ||
- "GPL-3.0-or-later" | ||
tags: | ||
- foreman | ||
- katello | ||
- satellite | ||
- infrastructure | ||
readme: "README.md" | ||
homepage: "https://access.redhat.com/products/red-hat-satellite" | ||
repository: "https://github.com/RedHatSatellite/satellite-ansible-collection" | ||
|
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
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,3 +1,4 @@ | ||
flake8 | ||
yamllint | ||
ansible-lint | ||
galaxy-importer |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
redhat.satellite.compute_profiles | ||
=================================== | ||
|
||
This role creates and manages Compute Profiles. | ||
|
||
Role Variables | ||
-------------- | ||
|
||
This role supports the [Common Role Variables](https://github.com/theforeman/foreman-ansible-modules/blob/develop/README.md#common-role-variables). | ||
|
||
The main data structure for this role is the list of `satellite_compute_profiles`. Each `compute_profile` requires the following fields: | ||
|
||
- `name`: The name of the compute profile. | ||
|
||
The following fields are optional and will be omitted by default: | ||
|
||
- `description`: Description of the compute profile | ||
- `compute_attributes`: List of attributes for the profile on specific compute resources. | ||
|
||
Example Playbooks | ||
----------------- | ||
|
||
Create a compute profile named `1-Small` with a VMware spec of 1 single core CPU, 2 GiB of memory, 15 GiB of disk, and a VMXNET3 network card connected to `VM Network`: | ||
|
||
```yaml | ||
- hosts: localhost | ||
roles: | ||
- role: redhat.satellite.compute_profiles | ||
vars: | ||
satellite_server_url: https://satellite.example.com | ||
satellite_username: "admin" | ||
satellite_password: "changeme" | ||
satellite_organization: "Default Organization" | ||
satellite_compute_profiles: | ||
- name: "1-Small" | ||
compute_attributes: | ||
- compute_resource: "VMware" | ||
vm_attrs: | ||
cluster: "cluster01" | ||
path: /Datacenters/ha-datacenter/vm/ | ||
memoryHotAddEnabled: true | ||
cpuHotAddEnabled: true | ||
cpus: 1 | ||
corespersocket: 1 | ||
memory_mb: 2048 | ||
volumes_attributes: | ||
0: | ||
datastore: "datastore1" | ||
size_gb: 15 | ||
interfaces_attributes: | ||
0: | ||
type: "VirtualVmxnet3" | ||
network: "VM Network" | ||
``` |
Oops, something went wrong.