-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge changes from onboard devcontainer setup
- Loading branch information
Showing
4 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
.devcontainer/ansible/roles/setup-container/defaults/main.yml
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dotfiles_url: "{{ lookup('env', 'DOTFILES_URL') | default('https://github.com/ilude/dotfiles.git') }}" | ||
dotfiles_path: "{{ lookup('env', 'HOME') + '/.dotfiles' }}" | ||
dotfiles_url: "{{ lookup('env', 'DOTFILES_URL') }}" | ||
dotfiles_path: "{{ lookup('env', 'HOME') + '/.dotfiles' }}" |
4 changes: 3 additions & 1 deletion
4
.devcontainer/ansible/roles/setup-container/tasks/dotfiles.yml
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
- name: Clone/Update Dotfiles Repository | ||
- name: Clone/Update git repo {{ dotfiles_url }} to {{ dotfiles_path }} | ||
git: | ||
repo: "{{ dotfiles_url }}" | ||
dest: "{{ dotfiles_path }}" | ||
recursive: yes # Recursively clone submodules | ||
update: yes | ||
force: yes | ||
accept_hostkey: yes | ||
ignore_errors: yes | ||
|
||
- name: Execute {{ dotfiles_path }}/install | ||
command: "{{ dotfiles_path }}/install" | ||
ignore_errors: yes |
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
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