You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
272 B

4 years ago
#!/bin/bash
. ./user.config
. ../Makefile.variable
/bin/rm -f files/sudo
echo "Defaults:$RUSER !authenticate" > files/sudo
ansible-playbook -u $USER -i inventory.yml ./sudo/run.yml -f 5 --private-key=$PKEY --extra-vars "ruser=$RUSER"
/bin/rm -f files/sudo