make sure {{ htauth }} exists: | make sure {{ htauth }} exists: | ||||
file.exists: | file.exists: | ||||
- name: {{ htauth }} | - name: {{ htauth }} | ||||
- makedirs: True | |||||
{% for name, user in pillar.get('users', {}).items() %} | {% for name, user in pillar.get('users', {}).items() %} | ||||
{% if user['webauth'] is defined -%} | {% if user['webauth'] is defined -%} |