Skip to content

Commit

Permalink
Merge pull request #761 from roots/xdebug-become-yes
Browse files Browse the repository at this point in the history
Enable admin_user to invoke sudo with xdebug-tunnel.yml
  • Loading branch information
fullyint authored Feb 17, 2017
2 parents e384f52 + fd5033e commit 019acbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/xdebug-tunnel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ssh -S '{{ xdebug_tunnel_control_socket }}' -O exit '{{ xdebug_tunnel_control_identity }}'
{% endif %}
connection: local
become: no
register: xdebug_tunnel
ignore_errors: true

Expand Down
1 change: 1 addition & 0 deletions xdebug-tunnel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

- name: Enable or Disable Xdebug and SSH Tunnel
hosts: "{{ xdebug_tunnel_inventory_host }}"
become: yes
roles:
- { role: xdebug, tags: [xdebug] }
- { role: xdebug-tunnel, tags: [xdebug-tunnel] }
Expand Down

0 comments on commit 019acbc

Please sign in to comment.