diff --git a/README.md b/README.md index a30c21b67993d46f40ea238cb50e7a5a14bacb1e..d9a83c27427dfcb79e0fb17b32f4973d2b9d9bb6 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,29 @@ -# Authority of the Ansible subgroup +# Authority of the Ansible group -# Content of the repo +## Content of the repo -- CI config for the whole subgroup -- GitLab API scripts to setup repos in the subgroup -- Template files for the playbooks +- `ci/` - CI config for the whole subgroup + - Group-level specified CI config instead of repo sepcific configs +- `gitlab-api-scripts/` - GitLab API scripts to setup repos in the subgroup +- `playbook-template/` - Template files for the playbooks + - Used for local bootstrapping -# Usage example of the CI +## What is Ansible, and what is it good for? -Example `.gitlab-ci.yml` files. Check tags under `https://git.sch.bme.hu/kszk/sysadmin/ansible/ansci/-/tags` +TODO write 2 paragraph about what is it good for -```yaml -include: - - project: kszk/sysadmin/ansible/ansci - ref: 0.1.0 - file: /pipeline/playbook.yaml -``` +## Ansible quick-start + +TODO link or wirete a good tutorial + +## Tools we have + +We have tools to automate a bunch of things in KSZK: + +- [Git.sch ansible group](https://git.sch.bme.hu/kszk/sysadmin/ansible) + - roles, playbooks, pipelines +- VMware resource groups + - to get resources to test and deploy + - more info in [~sysadmin-vmware](https://mattermost.kszk.bme.hu/kszk/channels/sysadmin-vmware) +- [AWX](https://ansible.kszk.bme.hu/): to run playbooks automatically on servers -```yaml -include: - - project: kszk/sysadmin/ansible/ansci - ref: 0.1.0 - file: /pipeline/role.yaml -``` diff --git a/gitlab-api-opressor/.gitignore b/gitlab-api-scripts/.gitignore similarity index 100% rename from gitlab-api-opressor/.gitignore rename to gitlab-api-scripts/.gitignore diff --git a/gitlab-api-opressor/README.md b/gitlab-api-scripts/README.md similarity index 100% rename from gitlab-api-opressor/README.md rename to gitlab-api-scripts/README.md diff --git a/gitlab-api-opressor/delete_merged_branches.py b/gitlab-api-scripts/delete_merged_branches.py similarity index 100% rename from gitlab-api-opressor/delete_merged_branches.py rename to gitlab-api-scripts/delete_merged_branches.py diff --git a/gitlab-api-opressor/functions.py b/gitlab-api-scripts/functions.py similarity index 100% rename from gitlab-api-opressor/functions.py rename to gitlab-api-scripts/functions.py diff --git a/gitlab-api-opressor/list_projects.py b/gitlab-api-scripts/list_projects.py similarity index 100% rename from gitlab-api-opressor/list_projects.py rename to gitlab-api-scripts/list_projects.py diff --git a/gitlab-api-opressor/requirements.txt b/gitlab-api-scripts/requirements.txt similarity index 100% rename from gitlab-api-opressor/requirements.txt rename to gitlab-api-scripts/requirements.txt diff --git a/gitlab-api-opressor/setup_projects.py b/gitlab-api-scripts/setup_projects.py similarity index 100% rename from gitlab-api-opressor/setup_projects.py rename to gitlab-api-scripts/setup_projects.py