From f29d7a207da1bc4a9f919d64a7923d669fe6a1fa Mon Sep 17 00:00:00 2001 From: XaverStiensmeier Date: Tue, 28 Nov 2023 16:42:49 +0100 Subject: [PATCH] reconstructured role additional in order to make it easier to include. Added quotes for consistency. --- .../roles/additional/example/meta/main.yml | 28 ------------------- .../additional/{example => }/tasks/main.yml | 1 + .../roles/bibigrid/tasks/010-bin-server.yml | 2 +- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 resources/playbook/roles/additional/example/meta/main.yml rename resources/playbook/roles/additional/{example => }/tasks/main.yml (98%) diff --git a/resources/playbook/roles/additional/example/meta/main.yml b/resources/playbook/roles/additional/example/meta/main.yml deleted file mode 100644 index 8ff216df2..000000000 --- a/resources/playbook/roles/additional/example/meta/main.yml +++ /dev/null @@ -1,28 +0,0 @@ -galaxy_info: - role_name: Hello-World Example - author: Tim Dilger - description: Shows working example of installing Ansible Role. - company: Bielefeld university, CeBiTec, BiBiServ - - license: BSD - - min_ansible_version: 2.7 - - platforms: - - name: EL - versions: - - 7 - - name: Debian - versions: - - stretch - - name: Ubuntu - versions: - - xenial - - bionic - - galaxy_tags: - - hello-world - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/resources/playbook/roles/additional/example/tasks/main.yml b/resources/playbook/roles/additional/tasks/main.yml similarity index 98% rename from resources/playbook/roles/additional/example/tasks/main.yml rename to resources/playbook/roles/additional/tasks/main.yml index 63ea8e434..e949ee7fa 100644 --- a/resources/playbook/roles/additional/example/tasks/main.yml +++ b/resources/playbook/roles/additional/tasks/main.yml @@ -1,3 +1,4 @@ - debug: msg: - "Hello {{ ansible_user }}!" + diff --git a/resources/playbook/roles/bibigrid/tasks/010-bin-server.yml b/resources/playbook/roles/bibigrid/tasks/010-bin-server.yml index c6716010f..49256c1a1 100644 --- a/resources/playbook/roles/bibigrid/tasks/010-bin-server.yml +++ b/resources/playbook/roles/bibigrid/tasks/010-bin-server.yml @@ -5,7 +5,7 @@ - name: Does folder exist delegate_to: localhost stat: - path: ~{{ ansible_facts.env.SUDO_USER }}/bin + path: "~{{ ansible_facts.env.SUDO_USER }}/bin" register: folder - when: folder.stat.exists