you can only have one pre_tasks

This commit is contained in:
Kevin Fenzi 2018-11-12 00:58:42 +00:00
parent d65be97a63
commit eec686354f

View file

@ -15,6 +15,8 @@
pre_tasks: pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: mount project volume - name: mount project volume
mount: > mount: >
name=/project name=/project
@ -81,9 +83,6 @@
- people - people
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks: tasks:
- import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"