Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomc committed Mar 7, 2019
1 parent fd2b447 commit fcd4077
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 3 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---

- name: restart JumpCloud
- name: restart JumpCloud
service:
name: "{{ jumpcloud_agent_service }}"
state: restarted
become: "{{ jumpcloud_use_sudo }}"

...
1 change: 0 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
creates: "{{ jumpcloud_agent_config}}"
become: "{{ jumpcloud_use_sudo }}"


- name: Check JumpCloud agent config again
stat:
path: "{{ jumpcloud_agent_config }}"
Expand Down
9 changes: 0 additions & 9 deletions tasks/reset_jumpcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@
timeout: 60
msg: Timeout to find file "{{ jumpcloud_agent_config}}"
become: "{{ jumpcloud_use_sudo }}"
#
# - pause:
# minutes: 1
#
# - name: Restrat JumpCloud
# service:
# name: "{{ jumpcloud_agent_service }}"
# state: restarted
# become: "{{ jumpcloud_use_sudo }}"

- name: check JumpCloud agent config again
stat:
Expand Down

0 comments on commit fcd4077

Please sign in to comment.