Facts are strings so make this explicit
This patch fixes the following ansible warning: [WARNING]: The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. Change-Id: I06cee8173aaf79c2a1bd288fa1a813117ab2b319
This commit is contained in:
		@@ -23,7 +23,7 @@
 | 
			
		||||
    dest: "/etc/ansible/facts.d/{{ venv_facts_dest }}.fact"
 | 
			
		||||
    section: "{{ item.section }}"
 | 
			
		||||
    option: "{{ item.option }}"
 | 
			
		||||
    value: "{{ item.value }}"
 | 
			
		||||
    value: "{{ item.value | string }}"
 | 
			
		||||
  with_items: "{{ venv_facts_when_changed }}"
 | 
			
		||||
  when:
 | 
			
		||||
    - venv_facts_when_changed != []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user