docker_image: fix option parameter so that warnings are issued (#63345)

* Fix option parameter so that warnings are issued.

* Add changelog.

(cherry picked from commit 61b3784131)
pull/64281/head
Felix Fontein 5 years ago committed by Toshio Kuratomi
parent fc65941d86
commit 353c9cb99d

@ -0,0 +1,2 @@
bugfixes:
- "docker_image - make sure that deprecated options also emit proper deprecation warnings next to warnings which indicate how to replace them."

@ -834,25 +834,25 @@ def main():
memswap=dict(type='int'),
cpushares=dict(type='int'),
cpusetcpus=dict(type='str'),
), removedin_version='2.12'),
dockerfile=dict(type='str', removedin_version='2.12'),
), removed_in_version='2.12'),
dockerfile=dict(type='str', removed_in_version='2.12'),
force=dict(type='bool', removed_in_version='2.12'),
force_source=dict(type='bool', default=False),
force_absent=dict(type='bool', default=False),
force_tag=dict(type='bool', default=False),
http_timeout=dict(type='int', removedin_version='2.12'),
http_timeout=dict(type='int', removed_in_version='2.12'),
load_path=dict(type='path'),
name=dict(type='str', required=True),
nocache=dict(type='bool', default=False, removedin_version='2.12'),
path=dict(type='path', aliases=['build_path'], removedin_version='2.12'),
pull=dict(type='bool', removedin_version='2.12'),
nocache=dict(type='bool', default=False, removed_in_version='2.12'),
path=dict(type='path', aliases=['build_path'], removed_in_version='2.12'),
pull=dict(type='bool', removed_in_version='2.12'),
push=dict(type='bool', default=False),
repository=dict(type='str'),
rm=dict(type='bool', default=True, removedin_version='2.12'),
rm=dict(type='bool', default=True, removed_in_version='2.12'),
state=dict(type='str', default='present', choices=['absent', 'present', 'build']),
tag=dict(type='str', default='latest'),
use_tls=dict(type='str', choices=['no', 'encrypt', 'verify'], removed_in_version='2.11'),
buildargs=dict(type='dict', removedin_version='2.12'),
buildargs=dict(type='dict', removed_in_version='2.12'),
)
required_if = [

Loading…
Cancel
Save