remove the identical task and when

parent 1c7fe1b3
...@@ -66,19 +66,11 @@ ...@@ -66,19 +66,11 @@
- "RolledTrackingLogVoter" - "RolledTrackingLogVoter"
# Optional auth for git # Optional auth for git
- name: Create ssh script for git (not authenticated) - name: Create ssh script for git
template: template:
src: "tmp/git-identity.sh.j2" src: "tmp/git-identity.sh.j2"
dest: "{{ minos_git_ssh }}" dest: "{{ minos_git_ssh }}"
mode: "0750" mode: "0750"
when: MINOS_GIT_IDENTITY is not defined
- name: Create ssh script for git (authenticated)
template:
src: "tmp/git-identity.sh.j2"
dest: "{{ minos_git_ssh }}"
mode: "0750"
when: MINOS_GIT_IDENTITY is defined
- name: Install read-only ssh key - name: Install read-only ssh key
copy: copy:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment