diff --git a/README.md b/README.md index 142fbae..237354f 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ just use them as idempotent command-line scripts!) service running Forgejo's official Linux binary. This is mostly a 1:1 port of [Forgejo's "Installation from binary" guide][fj-install]! -You can run them individually, or all at once, with `run.sh`: +You can run them individually, or all at once, with `ansible-playbook`: - run.sh setup-all.yml + ansible-playbook setup-all.yml If you're interested in setting up your own Forgejo service, this could be useful as a starting point, there's not much custom here! Just a couple things diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..2271ddb --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,5 @@ +[defaults] +inventory = inventory.cfg + +[privilege_escalation] +become_ask_pass = True diff --git a/run.sh b/run.sh deleted file mode 100755 index 3342888..0000000 --- a/run.sh +++ /dev/null @@ -1 +0,0 @@ -ansible-playbook -i inventory.cfg --ask-become-pass $1