Commit 46ae139d authored by Maciej Delmanowski's avatar Maciej Delmanowski

Fix ansible-lint error E304 in DebOps roles

parent 28642806
......@@ -59,7 +59,9 @@
mode: '0644'
- name: Get commit hash of target checkout
shell: GIT_WORK_TREE={{ phpipam_git_checkout }} git rev-parse {{ phpipam_git_version }}
environment:
GIT_WORK_TREE: '{{ phpipam_git_checkout }}'
shell: git rev-parse {{ phpipam_git_version }}
chdir={{ phpipam_git_dest }}
args:
executable: '/bin/sh'
......@@ -69,7 +71,9 @@
changed_when: phpipam_register_target_branch.stdout != phpipam_register_source.before
- name: Checkout phpIPAM
shell: GIT_WORK_TREE={{ phpipam_git_checkout }} git checkout -f {{ phpipam_git_version }}
environment:
GIT_WORK_TREE: '{{ phpipam_git_checkout }}'
shell: git checkout -f {{ phpipam_git_version }}
chdir={{ phpipam_git_dest }}
args:
executable: '/bin/sh'
......
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