Download:
child 118:eec3351046d6
parent 116:1bdd61636a4c
117:c2d1c06172e5
Anton Shestakov <av6@dwimlabs.net>, Fri, 29 Jul 2016 19:22:46 +0800
provision: role vars are now legit super evil, confirmed by Ansible 2.1.0.0 They are so extremely high-priority now that they cannot be redefined in a playbook. At least defaults should work as expected?

2 файлов изменено, 9 вставок(+), 9 удалений(-) [+]
provision/roles/fruitbar/defaults/main.yml file | annotate | diff | comparison | revisions
provision/roles/fruitbar/vars/main.yml file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/provision/roles/fruitbar/defaults/main.yml Fri Jul 29 19:22:46 2016 +0800
@@ -0,0 +1,9 @@
+---
+user: projects
+repo: 'https://bitbucket.org/av6/fruitbar'
+revision: default
+site_order: 50
+ssl_cert: /etc/ssl/local/fruitbar.{{ umbrella }}.pem
+ssl_key: /etc/ssl/local/fruitbar.{{ umbrella }}.clean.key
+ssl_intermediates: []
+...
--- a/provision/roles/fruitbar/vars/main.yml Wed Jul 27 12:07:44 2016 +0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
----
-user: projects
-repo: 'https://bitbucket.org/av6/fruitbar'
-revision: default
-site_order: 50
-ssl_cert: /etc/ssl/local/fruitbar.{{ umbrella }}.pem
-ssl_key: /etc/ssl/local/fruitbar.{{ umbrella }}.clean.key
-ssl_intermediates: []
-...