-
Notifications
You must be signed in to change notification settings - Fork 68
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
base: master
Are you sure you want to change the base?
Conversation
@@ -29,38 +29,39 @@ | |||
get_url: | |||
url={{ etcd_download_url }} | |||
dest=/opt/{{ etcd_tarball }} | |||
when: |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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: