aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-02-11 22:19:25 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-02-11 22:19:25 +0100
commit3feb426e9f2a1ed790eb3932d81cb959bafc91d5 (patch)
tree3083eeae825782f79c66dfbcdcf347a27747c59e
parent94ac5b58a1b5f07fb824d43b9a2de43c74d4f3c6 (diff)
downloadinfrastructure-3feb426e9f2a1ed790eb3932d81cb959bafc91d5.tar.gz
infrastructure-3feb426e9f2a1ed790eb3932d81cb959bafc91d5.zip
Alex is now admin!
-rw-r--r--ansible/roles/users/vars/main.yml1
-rw-r--r--docker/diplomate/src/main.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/users/vars/main.yml b/ansible/roles/users/vars/main.yml
index 3798dab..fc0ef4a 100644
--- a/ansible/roles/users/vars/main.yml
+++ b/ansible/roles/users/vars/main.yml
@@ -7,6 +7,7 @@ active_users:
- 'quentin-key2.pub'
- username: 'alex'
+ is_admin: true
ssh_keys:
- 'alex-key1.pub'
diff --git a/docker/diplomate/src/main.rs b/docker/diplomate/src/main.rs
index 24d9ec1..a676662 100644
--- a/docker/diplomate/src/main.rs
+++ b/docker/diplomate/src/main.rs
@@ -1,4 +1,5 @@
use igd::aio::search_gateway;
+
#[tokio::main]
async fn main() {
let gateway = match search_gateway(Default::default()).await {