Skip to content

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
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.

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