Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this should avoid ID colisions
- {%- set env = env_keyword %}
- mysqld-{{ env }}:
- service.running:
- - name: mysqld
- db_users-{{ magento['db_user'] }}:
- mysql_user.present:
- - name: {{ magento['db_user'] }}
- - password: {{ magento['db_pass'] }}
- - host: {{ magento['db_host'] }}
- - require:
- - service: mysqld-{{ env }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement