From 122246d051201cdbe3e85dfbf5b2d0df8f310ebd Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Sat, 10 Dec 2022 21:12:07 +0100 Subject: [PATCH] first implementation of role-gitea --- .idea/modules.xml | 8 ++ .idea/role-gitea.iml | 9 ++ .idea/vcs.xml | 6 ++ .idea/workspace.xml | 88 +++++++++++++++++ README.md | 119 +++++++++++++++++----- ansible.cfg | 2 + defaults/main.yml | 106 +++++++++++++++++++- handlers/main.yml | 11 ++- meta/main.yml | 53 +++------- tasks/backup.yml | 30 ++++++ tasks/create_user.yml | 14 +++ tasks/install.yml | 73 ++++++++++++++ tasks/install_systemd.yml | 17 ++++ tasks/jwt_secrets.yml | 38 ++++++++ tasks/main.yml | 71 +++++++++++++- templates/gitea.ini.j2 | 195 +++++++++++++++++++++++++++++++++++++ templates/gitea.service.j2 | 24 +++++ tests/inventory | 2 +- tests/test.yml | 7 +- vars/debian.yml | 5 + vars/main.yml | 10 +- 21 files changed, 819 insertions(+), 69 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/role-gitea.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 ansible.cfg create mode 100644 tasks/backup.yml create mode 100644 tasks/create_user.yml create mode 100644 tasks/install.yml create mode 100644 tasks/install_systemd.yml create mode 100644 tasks/jwt_secrets.yml create mode 100644 templates/gitea.ini.j2 create mode 100644 templates/gitea.service.j2 create mode 100644 vars/debian.yml diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..b056411 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/role-gitea.iml b/.idea/role-gitea.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/role-gitea.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..005a1ba --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "WebServerToolWindowFactoryState": "false", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "vue.rearranger.settings.migration": "true" + } +} + + + + + 1670525068766 + + + + + + + + + +