Ansible role to deploy Uguu #72

Open
s3lva-kumar wants to merge 2 commits from s3lva-kumar/ansible-role into master
s3lva-kumar commented 3 months ago (Migrated from github.com)
Owner

👉 This ansible role deploys the release v1.5.0 on Ubuntu 20.04. The newer releases had some structural changes, so I noticed. It will be worked on right alongside the below TO-DO's.

Todo

  • Easier testing with molecule/KitchenCI
  • Add new task for automatically get the author's new release
  • Update local IP getting template

In Progress

  • Easier testing with molecule/KitchenCI
  • Add new task for automatically get the author's new release
  • Update local IP getting template

Done ✓

  • Easier testing with molecule/KitchenCI
  • Add new task for automatically get the author's new release
  • Update local IP getting template

👉 A few liberties were taken with regard to the utility with which the uploaded files were purged and the job scheduler to execute the latter.

i) rm -rf ↪️ srm
ii) cron ↪️ systemd-timer

👉 If this PR adds value, an update to the Uguu docs to include the "Installation via Ansible" section under installation will help anybody choosing to deploy via.

make submodule-update
make HOSTS_FILE=<path-to-inventory> deploy
:point_right: This ansible role deploys the release `v1.5.0` on Ubuntu 20.04. The newer releases had some structural changes, so I noticed. It will be worked on right alongside the below TO-DO's. ### Todo - [ ] Easier testing with molecule/KitchenCI - [ ] Add new task for automatically get the author's new release - [ ] Update local IP getting template ### In Progress - [x] Easier testing with molecule/KitchenCI - [ ] Add new task for automatically get the author's new release - [ ] Update local IP getting template ### Done ✓ - [ ] Easier testing with molecule/KitchenCI - [ ] Add new task for automatically get the author's new release - [ ] Update local IP getting template :point_right: A few liberties were taken with regard to the utility with which the uploaded files were purged and the job scheduler to execute the latter. i) rm -rf ↪️ srm ii) cron ↪️ systemd-timer :point_right: If this PR adds value, an update to the Uguu docs to include the "Installation via Ansible" section under [installation](https://docs.uguu.se/#installation) will help anybody choosing to deploy via. ``` make submodule-update make HOSTS_FILE=<path-to-inventory> deploy ```
sonarcloud[bot] commented 3 months ago (Migrated from github.com)
Owner

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=nokonoko_Uguu&pullRequest=72) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=nokonoko_Uguu&pullRequest=72&resolved=false&types=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=nokonoko_Uguu&pullRequest=72) No Coverage information [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=nokonoko_Uguu&pullRequest=72&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=nokonoko_Uguu&pullRequest=72&metric=new_duplicated_lines_density&view=list)
Owner

To be honest idk much about ansible atm, but I'll look into it and review your pull request.

Please note that the repo has moved to https://git.pomf.se/Pomf/uguu, but mirror to github.

To be honest idk much about ansible atm, but I'll look into it and review your pull request. Please note that the repo has moved to https://git.pomf.se/Pomf/uguu, but mirror to github.
This pull request has changes conflicting with the target branch.
Makefile
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.