ansible-oracle icon indicating copy to clipboard operation
ansible-oracle copied to clipboard

Parted fails without -s option

Open enlightenalpha opened this issue 6 years ago • 2 comments

Branch: Master Target OS: CentOS Linux release 7.5.1804 Role: roles/orahost/tasks/main.yml Task: name: filesystem | Create partition and pv Problem: Task fails due to user confirmation prompt. Adding -s resolves:

shell: parted -a optimal -s {{ item.1.device }} "mklabel gpt mkpart primary 1 -1"

enlightenalpha avatar Aug 16 '18 17:08 enlightenalpha

Not sure what this is, as I can't reproduce it.

However, I've added the -s flag (0fa35a768af8b69341316348687309343ff6088e)

oravirt avatar Aug 16 '18 21:08 oravirt

Confirmed that this works. Thank you.

enlightenalpha avatar Aug 22 '18 23:08 enlightenalpha