Compare commits

..

2 Commits

7 changed files with 7 additions and 4 deletions

View File

@ -1 +1,2 @@
conf/giskard/caddy.conf:574ef250a108d62bc48f59c9ce82087e9de65fe470361a5ebc35bde4d43c82d1
conf/_shared/aws/aws_credentials:2a62843158398d2a4de0e6d6e769eab768d10b80f750ec69374048c02990caad conf/_shared/aws/aws_credentials:2a62843158398d2a4de0e6d6e769eab768d10b80f750ec69374048c02990caad

1
bin/.gitignore vendored
View File

@ -1 +0,0 @@
/previous/

Binary file not shown.

Binary file not shown.

Binary file not shown.

4
conf/giskard/script Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
echo running custom script for $INSTANCE
source ${CONF_SHARED_DIR}/aws/aws.env

View File

@ -24,8 +24,7 @@ sudo usermod -a -G caddy $USER
cat /etc/passwd | grep caddy cat /etc/passwd | grep caddy
PER="caddy ALL=NOPASSWD: ALL" PER="caddy ALL=NOPASSWD: ALL"
echo $PER | sudo tee /etc/sudoers.d/99_caddy echo $PER | sudo tee /etc/sudoers.d/99_caddy
echo confirm nopassword file was written ls -la /etc/sudoers.d/*caddy
sudo find /etc/sudoers.d | grep caddy echo added: $(cat /etc/sudoers.d/99_caddy) to sudoers.d/99_caddy
echo added: $(sudo cat /etc/sudoers.d/99_caddy) to sudoers.d/99_caddy
echo checking file.... $(sudo visudo -cf /etc/sudoers.d/99_caddy) echo checking file.... $(sudo visudo -cf /etc/sudoers.d/99_caddy)
# $DIR/scripts/own # $DIR/scripts/own