Skip to content
Snippets Groups Projects
Commit 9e2d24a1 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Name import and include tasks

parent d61edab1
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
--- ---
# file: roles/jailkit/tasks/jailkit.yml # file: roles/jailkit/tasks/jailkit.yml
- include_tasks: ../../php/tasks/variables.yml - name: Include php variables
include_tasks: ../../php/tasks/variables.yml
tags: tags:
- always - always
...@@ -25,7 +26,8 @@ ...@@ -25,7 +26,8 @@
failed_when: no failed_when: no
changed_when: no changed_when: no
- import_tasks: install.yml - name: Import install
import_tasks: install.yml
when: jailkit_available is defined and jailkit_available.stdout != '/usr/sbin/jk_init' when: jailkit_available is defined and jailkit_available.stdout != '/usr/sbin/jk_init'
- name: Create Jail Root Directory - name: Create Jail Root Directory
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
- block: - block:
- import_tasks: jailkit.yml - name: Import jailkit
import_tasks: jailkit.yml
when: not excluded_roles or "jailkit" not in excluded_roles and jailkit when: not excluded_roles or "jailkit" not in excluded_roles and jailkit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment