Created
February 10, 2014 13:38
-
-
Save martineg/8916085 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: tomcat | Deploy configuration | |
template: src={{ item }}.j2 dest={{ tomcat_root }}/conf/{{ item }} | |
owner={{ tomcat_user }} group={{ tomcat_user }} | |
with_items: | |
- server.xml | |
- tomcat-users.xml | |
- log4j.xml | |
notify: restart tomcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fails: UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 70: ordinal not in range(128)
If I quote the owner and group variables: owner="{{ tomcat_user }} group="{{ tomcat_user }}" it works as expected.