1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update debconf example (#33397)

'true' needs to be quoted as a string, otherwise it is stored as boolean and ends up getting capitalized to 'True' when presented to debconf
Subsequent install of oracle-java8-installer fails with "oracle-license-v1-1 license could not be presented"

ansible version: 2.3.1.0

Actual: value: true
    debconf-show oracle-java8-installer
    * shared/accepted-oracle-license-v1-1: True

Expected: value: 'true'
    debconf-show oracle-java8-installer
    * shared/accepted-oracle-license-v1-1: true
This commit is contained in:
Rowin Andruscavage 2017-11-30 00:07:11 -08:00 committed by Jordan Borean
parent dbc60e7b91
commit 3a3a63ce46

View file

@ -73,7 +73,7 @@ EXAMPLES = '''
debconf:
name: oracle-java7-installer
question: shared/accepted-oracle-license-v1-1
value: true
value: 'true'
vtype: select
- name: Specifying package you can register/return the list of questions and current values