commit add3f859766c4cd08a8638571e2bf43faf8fe61c
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Apr 4 16:08:11 2019 +0200
Fix inline vars in import_tasks
playbooks/groups/buildhw.yml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/playbooks/groups/buildhw.yml b/playbooks/groups/buildhw.yml
index cedd31f..a5939cb 100644
--- a/playbooks/groups/buildhw.yml
+++ b/playbooks/groups/buildhw.yml
@@ -31,7 +31,11 @@
when: not inventory_hostname.startswith('bkernel')
- import_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel')
- - include_tasks: "{{ tasks_path }}/create_swap_file.yml
swap_file_path=/var/swap-file swap_file_bs=1M swap_file_count=4096"
+ - import_tasks: "{{ tasks_path }}/create_swap_file.yml"
+ vars:
+ swap_file_path: /var/swap-file
+ swap_file_bs: 1M
+ swap_file_count: 4096
when: inventory_hostname.endswith('scaleway.rpmfusion.net')
- name: make sure kojid is running
Show replies by date