diff --git a/roles/base/meta/main.yml b/roles/base/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/base/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/bash/meta/main.yml b/roles/bash/meta/main.yml index b4322e6..843cc9a 100644 --- a/roles/bash/meta/main.yml +++ b/roles/bash/meta/main.yml @@ -1,4 +1,5 @@ --- dependencies: + - role: check-sudo - role: git - role: shell diff --git a/roles/check-sudo/tasks/main.yml b/roles/check-sudo/tasks/main.yml new file mode 100644 index 0000000..8994486 --- /dev/null +++ b/roles/check-sudo/tasks/main.yml @@ -0,0 +1,5 @@ +--- +- name: Check sudo password first + become: true + command: echo "sudo password correct" + changed_when: false diff --git a/roles/firefox/meta/main.yml b/roles/firefox/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/firefox/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/git/meta/main.yml b/roles/git/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/git/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/i3/meta/main.yml b/roles/i3/meta/main.yml index 4e53766..85ceaa8 100644 --- a/roles/i3/meta/main.yml +++ b/roles/i3/meta/main.yml @@ -1,3 +1,4 @@ --- dependencies: + - role: check-sudo - role: git diff --git a/roles/keepass/meta/main.yml b/roles/keepass/meta/main.yml index 4e53766..85ceaa8 100644 --- a/roles/keepass/meta/main.yml +++ b/roles/keepass/meta/main.yml @@ -1,3 +1,4 @@ --- dependencies: + - role: check-sudo - role: git diff --git a/roles/kitty/meta/main.yml b/roles/kitty/meta/main.yml index 4e53766..85ceaa8 100644 --- a/roles/kitty/meta/main.yml +++ b/roles/kitty/meta/main.yml @@ -1,3 +1,4 @@ --- dependencies: + - role: check-sudo - role: git diff --git a/roles/latex/meta/main.yml b/roles/latex/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/latex/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/lilypond/meta/main.yml b/roles/lilypond/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/lilypond/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/neovim/meta/main.yml b/roles/neovim/meta/main.yml index 0e9e22a..4a6f3c0 100644 --- a/roles/neovim/meta/main.yml +++ b/roles/neovim/meta/main.yml @@ -1,3 +1,4 @@ --- dependencies: + - role: check-sudo - role: vim diff --git a/roles/pacman.conf/meta/main.yml b/roles/pacman.conf/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/pacman.conf/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/pass/meta/main.yml b/roles/pass/meta/main.yml index 4e53766..85ceaa8 100644 --- a/roles/pass/meta/main.yml +++ b/roles/pass/meta/main.yml @@ -1,3 +1,4 @@ --- dependencies: + - role: check-sudo - role: git diff --git a/roles/protonvpn/meta/main.yml b/roles/protonvpn/meta/main.yml index 74e93cc..bad15e3 100644 --- a/roles/protonvpn/meta/main.yml +++ b/roles/protonvpn/meta/main.yml @@ -1,4 +1,5 @@ --- dependencies: + - role: check-sudo - role: git - role: secrets-repo diff --git a/roles/sudoers/meta/main.yml b/roles/sudoers/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/sudoers/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/terminator/meta/main.yml b/roles/terminator/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/terminator/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/tor/meta/main.yml b/roles/tor/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/tor/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/vim/meta/main.yml b/roles/vim/meta/main.yml new file mode 100644 index 0000000..edef5f0 --- /dev/null +++ b/roles/vim/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: check-sudo diff --git a/roles/zsh/meta/main.yml b/roles/zsh/meta/main.yml index b4322e6..843cc9a 100644 --- a/roles/zsh/meta/main.yml +++ b/roles/zsh/meta/main.yml @@ -1,4 +1,5 @@ --- dependencies: + - role: check-sudo - role: git - role: shell