-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
force
a setting for all repositories and individually.
- Loading branch information
1 parent
14e180d
commit d336a7b
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,13 +60,21 @@ These variables are set in `defaults/main.yml`: | |
# Where to place the copies of the repositories. | ||
git_repository_destination: /home/{{ git_username }}/Documents/github.com/{{ git_username }} | ||
|
||
|
||
# Should git force (overwrite locally changed) clone? (Can also be controlled | ||
# per repository, see below. | ||
git_force: no | ||
|
||
# The repositories to check out, bootstrap is pinned to a version, java will get HEAD/latest. | ||
# git_repositories: | ||
# - repo: https://github.com/robertdebock/ansible-role-bootstrap.git | ||
# dest: bootstrap | ||
# version: 2.2.4 | ||
# - repo: ssh://[email protected]/robertdebock/ansible-role-java.git | ||
# dest: java | ||
# - repo: ssh://[email protected]/robertdebock/ansible-role-tomcat.git | ||
# dest: tomcat | ||
# force: yes | ||
|
||
# To update packages this role places on the system, set `git_package_state` to `latest`. | ||
git_package_state: present | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,21 @@ | |
# Where to place the copies of the repositories. | ||
git_repository_destination: /home/{{ git_username }}/Documents/github.com/{{ git_username }} | ||
|
||
|
||
# Should git force (overwrite locally changed) clone? (Can also be controlled | ||
# per repository, see below. | ||
git_force: no | ||
|
||
# The repositories to check out, bootstrap is pinned to a version, java will get HEAD/latest. | ||
# git_repositories: | ||
# - repo: https://github.com/robertdebock/ansible-role-bootstrap.git | ||
# dest: bootstrap | ||
# version: 2.2.4 | ||
# - repo: ssh://[email protected]/robertdebock/ansible-role-java.git | ||
# dest: java | ||
# - repo: ssh://[email protected]/robertdebock/ansible-role-tomcat.git | ||
# dest: tomcat | ||
# force: yes | ||
|
||
# To update packages this role places on the system, set `git_package_state` to `latest`. | ||
git_package_state: present | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters