Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- ---
- - name: lets try some long ansible task with vars in quotes
- hosts: localhost
- connection: local
- vars:
- drush_root: /tmp/drush_root
- site_domain: "drush_root.com"
- site_uuid: "some_random_UUID1234xyz"
- site_langcode: "English"
- site_db_host: "drush_db1-host1"
- site_db_name: "drush_db1"
- site_db_user: "srush_usr1"
- site_db_password: "my_very_hard_password"
- site_db_su_name: "root"
- site_db_su_password: "123456789asdfasdf"
- site_db_port: "1234"
- gather_facts: false
- tasks:
- - name: Spinup new site.
- command: >
- ./drush
- spinup-site
- --root="{{ drush_root }}"
- --site-domain="{{ site_domain }}"
- --site-uuid="{{ site_uuid }}"
- --langcode="{{ site_langcode }}"
- --db-host="{{ site_db_host }}"
- --db-port="{{ site_db_port }}"
- --db-name="{{ site_db_name }}"
- --db-user="{{ site_db_user }}"
- --db-pw="{{ site_db_password }}"
- --db-su-name="{{ site_db_su_name }}"
- --db-su-pw="{{ site_db_su_password }}"
- args:
- chdir: "{{drush_root}}"
- register: slack_message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement