The apache2_module module in Ansible 2.2 is much more strict around configuration syntax checks [0] [1]. Temporarily use the command module to enable/disable apache2 modules until this issue is resolved. Also combine the enabling of apache2 modules into a single task and move it ahead of writing apache configurations. [0] https://github.com/ansible/ansible-modules-core/issues/5328 [1] https://github.com/ansible/ansible-modules-core/issues/5455 Change-Id: If59127a66a0349fde00912d64ff79762b0661859
3.7 KiB
3.7 KiB