Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone the certificate role in the temporary dir. #77

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

nhosoi
Copy link
Contributor

@nhosoi nhosoi commented Sep 29, 2022

Following the comment #76 (comment) by @richm , clone the certificate role in the temporary dir.

Note: this is needed to make the CI tests pass.

@nhosoi
Copy link
Contributor Author

nhosoi commented Sep 29, 2022

[citest]

@martinpitt
Copy link
Collaborator

Nice! I'll leave the final review to @richm , but this LGTM, thank you!

@martinpitt martinpitt requested a review from richm September 30, 2022 11:39
include_role:
name: "{{ cockpit_test_roles_dir }}/linux-system-roles.certificate"

- name: Clean up the tempdir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move this task to the always block

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @richm. Done!

@nhosoi
Copy link
Contributor Author

nhosoi commented Sep 30, 2022

[citest]

@richm richm merged commit d9798fe into linux-system-roles:master Oct 3, 2022
richm added a commit to richm/linux-system-roles-cockpit that referenced this pull request Nov 1, 2022
[1.4.0] - 2022-11-01
--------------------

### New Features

- Use the firewall role and the selinux role from the cockpit role (linux-system-roles#76)

Since cockpit_port is a public api of the cockpit role, define it
in defaults/main.yml as null.

- Introduce cockpit_manage_firewall to use the firewall role to
  manage the cockpit service.
  Default to false - means the firewall role is not used.

- Add the test check task tasks/check_port.yml for verifying the
  ports status.

- Add meta/collection-requirements.yml.

- Introduce cockpit_manage_selinux to use the selinux role to
  manage the ports in the cockpit service.
  Assign websm_port_t to the cockpit service ports.
  Default to false - means the selinux role is not used.

- Use the certificate role to create the cert and the key (linux-system-roles#78)

- Introduce a variable cockpit_certificates to set the certificate_requests.

- Update README so that using the certificate role is recommended.

Add a check and README note for not supporting creating a self-signed
certificate on RHEL/CentOS-7.

### Bug Fixes

- none

### Other Changes

- workflows: Add integration-tests for Ubuntu 22.04 (linux-system-roles#68)

The current LTS 22.04 is the more interesting target. This detects bugs
like [1]. Keep 20.04 running as well for the time being.

[1] linux-system-roles/certificate#130

- Clone the certificate role in the temporary dir. (linux-system-roles#77)

Signed-off-by: Rich Megginson <[email protected]>
richm added a commit that referenced this pull request Nov 2, 2022
[1.4.0] - 2022-11-01
--------------------

### New Features

- Use the firewall role and the selinux role from the cockpit role (#76)

Since cockpit_port is a public api of the cockpit role, define it
in defaults/main.yml as null.

- Introduce cockpit_manage_firewall to use the firewall role to
  manage the cockpit service.
  Default to false - means the firewall role is not used.

- Add the test check task tasks/check_port.yml for verifying the
  ports status.

- Add meta/collection-requirements.yml.

- Introduce cockpit_manage_selinux to use the selinux role to
  manage the ports in the cockpit service.
  Assign websm_port_t to the cockpit service ports.
  Default to false - means the selinux role is not used.

- Use the certificate role to create the cert and the key (#78)

- Introduce a variable cockpit_certificates to set the certificate_requests.

- Update README so that using the certificate role is recommended.

Add a check and README note for not supporting creating a self-signed
certificate on RHEL/CentOS-7.

### Bug Fixes

- none

### Other Changes

- workflows: Add integration-tests for Ubuntu 22.04 (#68)

The current LTS 22.04 is the more interesting target. This detects bugs
like [1]. Keep 20.04 running as well for the time being.

[1] linux-system-roles/certificate#130

- Clone the certificate role in the temporary dir. (#77)

Signed-off-by: Rich Megginson <[email protected]>

Signed-off-by: Rich Megginson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants