ansible win_environment

    Ansible ant heap space 메모리 세팅

    원인 : ansible에서 windows 배포시 아래와 같은 에러 발생 Error occured during initialization of VM Cound not reserve enough space for object heap 해결 - name: Set an environment variable for users win_environment: state: present name: ANT_OPTS value: -Xms256m -Xms512m level: user - name: Execute ant commands win_shell: ant deploy.sh args: chdir: '{{ current.batch.path }}' executable: cmd.exe