Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Rename the variable "gvm_ghq_executable" to "ghq_executable".
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 24, 2016
1 parent c674660 commit 4c03422
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Requirements
Role Variables
--------------

* gvm_ghq_executable: The ghq command path. The default is "ghq".
* ghq_executable: The ghq command path. The default is "ghq".

Dependencies
------------
Expand All @@ -27,7 +27,7 @@ Example Playbook
- hosts: servers
roles:
- role: suzuki-shunsuke.gvm
gvm_ghq_executable: "{{ansible_env.HOME}}/.go/bin/ghq"
ghq_executable: "{{ansible_env.HOME}}/.go/bin/ghq"
```
License
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
# defaults file for gvm
gvm_ghq_executable: ghq
ghq_executable: ghq
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Clone moovweb/gvm
ghq:
name: moovweb/gvm
executable: "{{gvm_ghq_executable}}"
executable: "{{ghq_executable}}"
- name: Notice
debug:
msg: "export GVM_ROOT=$GHQ_ROOT/github.com/moovweb/gvm"
Expand Down
5 changes: 3 additions & 2 deletions tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
- include: setup.yml
- hosts: default
vars:
ghq_executable: "{{ansible_env.HOME}}/.go/bin/ghq"
roles:
- suzuki-shunsuke.ghq-module
- role: ansible-gvm
gvm_ghq_executable: "{{ansible_env.HOME}}/.go/bin/ghq"
- ansible-gvm

0 comments on commit 4c03422

Please sign in to comment.