Test role swap (forgot to add the submodule)

master
Taha Ahmed 7 months ago
parent 75b0c01239
commit a73c73c52f

3
.gitmodules vendored

@ -13,3 +13,6 @@
[submodule "roles/ssh"]
path = roles/ssh
url = https://codeberg.org/ansible/ssh.git
[submodule "roles/swap"]
path = roles/swap
url = https://codeberg.org/ansible/swap.git

@ -58,6 +58,11 @@ using this playbook), and desk`top`.
### Working with roles (git submodules)
Add a new role as a git submodule (standing in the playbook root):
```
$ git submodule add https://codeberg.org/ansible/dotfiles.git roles/dotfiles
```
Update all the roles from their respective remotes:
```
$ git submodule foreach git fetch

@ -0,0 +1 @@
Subproject commit 90a04b68bdcfcfd7da947d7a68f98dcaca5fb098
Loading…
Cancel
Save