Move apache install to pre_task
This commit is contained in:
parent
48e2a3d6d7
commit
13c5523cc1
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,9 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
pre_tasks:
|
||||
- include: "{{ tasks }}/apache.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
|
@ -52,7 +55,6 @@
|
|||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
- include: "{{ tasks }}/apache.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue