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

Refactor existing roles, put timemaster inside a role #601

Merged
merged 8 commits into from
Sep 3, 2024

Conversation

eroussy
Copy link
Member

@eroussy eroussy commented Sep 3, 2024

This PR refactors the existing roles to be compliant with ansible-galaxy. It also refactors the centos prerequis to use the debian prerequisites roles.

vm_manager, python3-setup-ovs, cukinia and cukinia tests are now deployed inside their own roles.
Timemaster have its own role and is moved outside the network playbook

API changes:

  • The network playbook no longer configures snmp and timemaster. The roles should be called alone, or using the main playbook

Roles in subdirectories do not work on galaxy.

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Move the time synchronisation in a dedicated role.
Move snmp and time synchronisation role call outside of the network
playbook.
The network should be configured first and then, the task using the
network should be called (eg: timemaster, snmp ...)

API changes:
- The network playbook no longer configures snmp and timemaster
  The roles should be called alone, or using the main playbook

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
As agreed in maintainers meeting, SEAPATH should not be used to
configure the VMs. This must be done by the user if he wants to.

A task is added at the end of debian prerequis to stop the chrony
service. This is useful for VMs in the CI.

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
@insatomcat insatomcat marked this pull request as ready for review September 3, 2024 13:13
@insatomcat insatomcat self-requested a review September 3, 2024 13:13
insatomcat
insatomcat previously approved these changes Sep 3, 2024
bump cukinia-tests for deletion sleep and vm_manager data

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
@eroussy eroussy merged commit 8d541a7 into debiancentos Sep 3, 2024
2 of 3 checks passed
@eroussy eroussy deleted the devflorent2 branch September 3, 2024 14:54
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