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

Pretasks #70

Merged
merged 8 commits into from
Jun 20, 2019
Merged

Pretasks #70

merged 8 commits into from
Jun 20, 2019

Conversation

sac
Copy link
Member

@sac sac commented May 15, 2019

No description provided.

Name: gluster-ansible-roles
Version: 1.0.0
Release: 2%{?dist}
Name: gluster-ansible
Copy link
Member

Choose a reason for hiding this comment

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

why is this part of pre-tasks change?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was a earlier commit which was done to do a build. And when the PR is created it included earlier commits as well.

- name: Check if /var/log has enough disk space
shell: df -m /var/log | awk '/[0-9]%/ {print $4}'
register: disk_size
failed_when: disk_size.stdout|int < gluster_features_min_disk|default(15360)
Copy link
Member

Choose a reason for hiding this comment

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

are you changing the GiB to GB check here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. I have done that.

when: gluster_infra_volume_groups is defined and
item.pvname is not search("/dev/mapper") and
gluster_features_512B_check|default(true)
with_items: "{{ gluster_infra_volume_groups }}"
Copy link
Member

Choose a reason for hiding this comment

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

can you also add assert statements to the task failures?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

@gobindadas gobindadas left a comment

Choose a reason for hiding this comment

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

Looks good to me

@sac sac merged commit 6a78ce7 into gluster:master Jun 20, 2019
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