diff --git a/README.md b/README.md index 2269bfc..c377ff2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Including an example of how to use your role (for instance, with variables passe - hosts: - localhost roles: - - karolyi.freebsd-jailhost-tools + - karolyi.ansible-freebsd-jailhost-tools License ------- diff --git a/tasks/jail/main.yml b/tasks/jail/main.yml index 15a16d9..ebf2e44 100644 --- a/tasks/jail/main.yml +++ b/tasks/jail/main.yml @@ -19,14 +19,14 @@ include_type: '{{ "jail_" + jail_name + "_include_createnew_precreate" }}' - name: Creating a {{ jail_name }} jail when there's none yet - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/create.yml' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/create.yml' - include: '{{ vars["jail_" + jail_name + "_include_createnew_prestart"] | default(jail_include_noop) }}' vars: include_type: '{{ "jail_" + jail_name + "_include_createnew_prestart" }}' - name: Starting the {{ jail_name }} jail - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/start.yml' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/start.yml' - include: '{{ vars["jail_" + jail_name + "_include_createnew_poststart"] | default(jail_include_noop) }}' vars: @@ -47,7 +47,7 @@ jail_{{ jail_name }}_run_update: '{{ not vars["jail_" + jail_name + "_is_new_created"] }}' - name: Checking the latest {{ jail_name }} jail, updating/replacing when necessary - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/update.yml' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/update.yml' when: '{{ vars["jail_" + jail_name + "_run_update"] }}' - name: Updating jail_{{ jail_name }}_existing_dirs when necessary @@ -56,7 +56,7 @@ when: '{{ not vars["jail_" + jail_name + "_is_new_created"] }}' - name: Tidying up remaining unused jails - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/teardown.yml jail_id={{ item }}' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/teardown.yml jail_id={{ item }}' with_items: '{{ vars["jail_" + jail_name + "_existing_dirs"] }}' diff --git a/tasks/jail/update.yml b/tasks/jail/update.yml index 274fea0..03a02d6 100644 --- a/tasks/jail/update.yml +++ b/tasks/jail/update.yml @@ -46,14 +46,14 @@ include_type: '{{ "jail_" + jail_name + "_include_update_precreate" }}' - name: Creating a new {{ jail_name }} jail - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/create.yml' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/create.yml' - include: '{{ vars["jail_" + jail_name + "_include_update_prestart"] | default(jail_include_noop) }}' vars: include_type: '{{ "jail_" + jail_name + "_include_update_prestart" }}' - name: Starting the new jail_syslog - include: '{{ ansible_roles_path }}/karolyi.freebsd-jailhost-tools/tasks/jail/start.yml' + include: '{{ ansible_roles_path }}/karolyi.ansible-freebsd-jailhost-tools/tasks/jail/start.yml' - include: '{{ vars["jail_" + jail_name + "_include_update_poststart"] | default(jail_include_noop) }}' vars: