remove the unnecessary conditions

parent 182ddd9e
......@@ -79,7 +79,7 @@
src: git_ssh.sh.j2
dest: "/tmp/git_ssh.sh"
owner: "{{ xserver_user }}"
mode: "750"
mode: "0750"
notify:
- restart xserver
......
......@@ -2,20 +2,6 @@
# As of right now this role requires
# access to the edX 6.00x repo which is not public
---
- name: Checking for grader info
fail:
msg: "You must define XSERVER_GRADER_DIR"
when: XSERVER_GRADER_DIR|length == 0
- fail:
msg: "You must define XSERVER_GRADER_SOURCE"
when: XSERVER_GRADER_SOURCE|length == 0
- name: Checking for git identity
fail:
msg: "You must define XSERVER_GIT_IDENTITY to use this role"
when: XSERVER_GIT_IDENTITY|length == 0
- name: Create application user
user:
name: "{{ xserver_user }}"
......
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