commit d491e39386bfa3472fb6651cd3246154208d8192
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Feb 6 10:38:58 2018 +0100
Update buildhw
playbooks/groups/buildhw.yml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/playbooks/groups/buildhw.yml b/playbooks/groups/buildhw.yml
index ca08efc..35137fd 100644
--- a/playbooks/groups/buildhw.yml
+++ b/playbooks/groups/buildhw.yml
@@ -13,7 +13,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- - include: "{{ tasks }}/yumrepos.yml"
+ - import_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@@ -27,9 +27,9 @@
- { role: sudo, when: not inventory_hostname.startswith('bkernel') }
tasks:
- - include: "{{ tasks }}/2fa_client.yml"
+ - import_tasks: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel')
- - include: "{{ tasks }}/motd.yml"
+ - import_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks }}/create_swap_file.yml swap_file_path=/var/swap-file
swap_file_bs=1M swap_file_count=4096"
when: inventory_hostname.endswith('scaleway.rpmfusion.net')
@@ -37,7 +37,7 @@
when: not datacenter == 'online'
- name: make sure kojid is running
- service: name=kojid state=running enabled=yes
+ service: name=kojid state=started enabled=yes
handlers:
- - include: "{{ handlers }}/restart_services.yml"
+ - import_tasks: "{{ handlers_path }}/restart_services.yml"
Show replies by date