Add check-sudo role to avoid hanging with wrong become passwords during play
This commit is contained in:
parent
107964fb16
commit
5266b420a2
19 changed files with 43 additions and 0 deletions
3
roles/base/meta/main.yml
Normal file
3
roles/base/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
- role: shell
|
- role: shell
|
||||||
|
|
5
roles/check-sudo/tasks/main.yml
Normal file
5
roles/check-sudo/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: Check sudo password first
|
||||||
|
become: true
|
||||||
|
command: echo "sudo password correct"
|
||||||
|
changed_when: false
|
3
roles/firefox/meta/main.yml
Normal file
3
roles/firefox/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
3
roles/git/meta/main.yml
Normal file
3
roles/git/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
|
|
3
roles/latex/meta/main.yml
Normal file
3
roles/latex/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
3
roles/lilypond/meta/main.yml
Normal file
3
roles/lilypond/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: vim
|
- role: vim
|
||||||
|
|
3
roles/pacman.conf/meta/main.yml
Normal file
3
roles/pacman.conf/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
- role: secrets-repo
|
- role: secrets-repo
|
||||||
|
|
3
roles/sudoers/meta/main.yml
Normal file
3
roles/sudoers/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
3
roles/terminator/meta/main.yml
Normal file
3
roles/terminator/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
3
roles/tor/meta/main.yml
Normal file
3
roles/tor/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
3
roles/vim/meta/main.yml
Normal file
3
roles/vim/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- role: check-sudo
|
||||||
- role: git
|
- role: git
|
||||||
- role: shell
|
- role: shell
|
||||||
|
|
Loading…
Add table
Reference in a new issue