Some repositories couldn't be updated, please check application logs for details.
BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}

aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fdd8e7c..b696d93 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ endef
limit ?= all
$(eval $(call noexpand,limit))
+args := --inventory inventory.ini --limit '$(call escape,$(limit))'
+
.PHONY: all
all: run
@@ -32,4 +34,9 @@ deps:
.PHONY: run
run:
- ansible-playbook --inventory inventory.ini --limit '$(call escape,$(limit))' maintenance.yml
+ ansible-playbook $(args) maintenance.yml
+
+.PHONY: reboot
+reboot:
+ ansible $(args) --become -m reboot '*'
+ ansible $(args) -m wait_for_connection '*'