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

Parted fails without --script option in task orahost-storage

Open majdfr opened this issue 5 years ago • 0 comments

Branch: Master Target OS: CentOS Linux release 7.6.1810 Role: roles/orahost-storage/tasks/main.yml Task: name: ASM-storage | partition devices Problem: Task fails due to user confirmation prompt. shell: parted {{ item.1.device }} "mklabel gpt mkpart primary 1 -1"

This is similar to issue "Parted fails without -s option" #95, opened by enlightenalpha. It involves a different file however.

Solution : adding the --script option solved the issue

shell: parted {{ item.1.device }} --script "mklabel gpt mkpart primary 1 -1"

majdfr avatar Mar 14 '19 14:03 majdfr