summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-08-17 10:56:25 +0100
committerBen Copeland <ben.copeland@linaro.org>2016-08-31 08:49:22 +0000
commit9a05ba4c95ae946cb8949d44ef4243f28cca803d (patch)
tree4b3261e0f7894df19c9e7550ed33d162bfe9341f /per-service
parent2714daa7b1b3e89af209a66375e13c1a002d59b0 (diff)
downloadansible-playbooks-9a05ba4c95ae946cb8949d44ef4243f28cca803d.tar.gz
Git: Ansible-lint errors
Fix the usage of using shell when we should be using command. Change-Id: I0575ba35f5d4d11f346fe53be582d910e11dc7a2 Reviewed-on: https://review.linaro.org/13751 Reviewed-by: Ben Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/git-servers/roles/common/tasks/host-nickname.yml2
-rw-r--r--per-service/git-servers/roles/gitolite/tasks/gitolite-tools.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/per-service/git-servers/roles/common/tasks/host-nickname.yml b/per-service/git-servers/roles/common/tasks/host-nickname.yml
index 556bda8..536781d 100644
--- a/per-service/git-servers/roles/common/tasks/host-nickname.yml
+++ b/per-service/git-servers/roles/common/tasks/host-nickname.yml
@@ -10,7 +10,7 @@
# This role requires the variable 'nickname' to be set.
- name: Test if we can install nickname file
- shell: test -f /etc/profile.d/host-nickname.sh
+ command: test -f /etc/profile.d/host-nickname.sh
register: host_nickname
ignore_errors: True
changed_when: False
diff --git a/per-service/git-servers/roles/gitolite/tasks/gitolite-tools.yml b/per-service/git-servers/roles/gitolite/tasks/gitolite-tools.yml
index 668d1a5..d19edd8 100644
--- a/per-service/git-servers/roles/gitolite/tasks/gitolite-tools.yml
+++ b/per-service/git-servers/roles/gitolite/tasks/gitolite-tools.yml
@@ -40,7 +40,7 @@
register: gitolite_keys_run
- name: Initial fetch of user SSH keys
- shell: "{{tools_checkout_dir}}/linaro-git-tools/gitolite-tools/gitolite-keys"
+ command: "{{tools_checkout_dir}}/linaro-git-tools/gitolite-tools/gitolite-keys"
when: not gitolite_keys_run.stat.exists
become_user: "{{git_user}}"
tags: