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

[WIP] Added changes to support and enable installation of SODA on Ubuntu20.04 #486

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

anvithks
Copy link
Member

What type of PR is this?
/kind enhancement

What this PR does / why we need it:
This PR enables the installation of SODA on Ubuntu 20.04.

Which issue(s) this PR fixes:

Fixes #485

Test Report Added?:
/kind TESTED

Test Report:
Tested on Virtual box with Ubuntu 20.04 and Ubuntu 18.04.

Special notes for your reviewer:

@anvithks anvithks added enhancement New feature or request bug-fix labels Dec 31, 2021
@anvithks anvithks self-assigned this Dec 31, 2021
@@ -29,38 +29,39 @@
get_url:
url={{ etcd_download_url }}
dest=/opt/{{ etcd_tarball }}
when:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason for changing these ?

Copy link
Member Author

Choose a reason for hiding this comment

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

These got changed by mistake. Essentially the same thing but written in one line. I have reverted it in a commit.

@@ -50,11 +50,13 @@
systemd:
name: soda-etcd
state: stopped
when: ansible_distribution == "Ubuntu" and (ansible_lsb.major_release|int >=16 and ansible_lsb.major_release|int <=18)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of checking OS, can we check a variable to know if etcd is installed as systemd service?

Copy link
Member Author

Choose a reason for hiding this comment

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

@joseph-v This is inside the handler. The handler code is invoked from the ansible/roles/cleaner/tasks/main.yml where the condition install_as_systemd == true is checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SODA Installation on Ubuntu 20.04 fails.
2 participants