Created
July 8, 2020 18:12
-
-
Save tjtoml/999d8e29cd97cbeb0c65265b1cde56b9 to your computer and use it in GitHub Desktop.
ansible_question
This file contains hidden or 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
--- | |
sites: | |
- name: site1 | |
cust_num: 1234 | |
- name: site2 | |
cust_num: 4321 |
This file contains hidden or 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: Create DBs | |
postgresql_db: | |
name: db-{{ item.name }}-{{ item.cust_num }} | |
loop: | |
- "{{ sites }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment