Skip to content

Commit fe581b6

Browse files
committed
Remove Kubernetes and Terraform roles
Today we have kubelab [1] and terraform_tfs_generator [2] that are Ansible standalone roles with their GitHub Actions that publish them on Galaxy [3][4], so we don't need them here anymore. [1] https://github.com/mmul-it/kubelab [2] https://github.com/mmul-it/terraform_tfs_generator [3] https://galaxy.ansible.com/ui/standalone/roles/mmul/kubelab/ [4] https://galaxy.ansible.com/ui/standalone/roles/mmul/terraform_tfs_generator/
1 parent 3346f53 commit fe581b6

File tree

87 files changed

+19
-16904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+19
-16904
lines changed

README.md

+19-16
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
This collection of roles can be used to implement various cloud native
44
solutions:
55

6-
* [Kubernetes](roles/kubernetes): a Kubernetes cluster;
7-
* [Terraform](roles/terraform): based on the passed inventory, it generates
8-
all the Terraform files needed to implement a cloud (today just Azure)
9-
datacenter;
106
* [Azure](roles/azure): automate tasks on Azure;
117
* [Graylog](roles/graylog-server): a clustered Graylog/MongoDB/Elasticsearch
128
solution;
@@ -18,15 +14,17 @@ A specific README will be (soon, if not present) available for each role.
1814

1915
## Using the roles
2016

21-
For each of the role there is an Ansible plugin that will invoke everything that is needed to accomplish its scope.
17+
For each of the role there is an Ansible plugin that will invoke everything that
18+
is needed to accomplish its scope.
2219

2320
### Preparing the environment
2421

25-
The best way to run everything is by using Python virtual environments and Ansible Collections.
22+
The best way to run everything is by using Python virtual environments and
23+
Ansible Collections.
2624

2725
First of all you need to clone this repository:
2826

29-
```
27+
```console
3028
user@lab ~ # git clone https://github.com/mmul-it/ansible
3129
Cloning into 'ansible'...
3230
remote: Enumerating objects: 2572, done.
@@ -39,7 +37,7 @@ Resolving deltas: 100% (1345/1345), done.
3937

4038
Then you will create your Python virtual environment:
4139

42-
```
40+
```console
4341
user@lab ~ # python3 -m virtualenv ansible-env
4442
Running virtualenv with interpreter /usr/bin/python2
4543
New python executable in /root/ansible-env/bin/python2
@@ -54,7 +52,7 @@ Installing setuptools, pkg_resources, pip, wheel...done.
5452

5553
And then you'll be ready to install the Python requirements:
5654

57-
```
55+
```console
5856
(ansible-env) user@lab ~ # pip3 install -r ansible/requirements.txt
5957
Requirement already satisfied: ansible in /usr/lib/python3.6/site-packages (from -r ansible/requirements.txt (line 1)) (2.10.7)
6058
Requirement already satisfied: ansible-vault in /usr/lib/python3.6/site-packages (from -r ansible/requirements.txt (line 2)) (1.2.0)
@@ -67,7 +65,7 @@ Successfully installed cachetools-4.2.4 google-auth-2.13.0 kubernetes-24.2.0 rsa
6765

6866
And finally the Ansible collections:
6967

70-
```
68+
```console
7169
(ansible-env) user@lab ~ # ansible-galaxy install -r ansible/collections/requirements.yml
7270
Starting galaxy collection install process
7371
Process install dependency map
@@ -76,21 +74,26 @@ Process install dependency map
7674
kubernetes.core (2.3.2) was installed successfully
7775
```
7876

79-
Now you should be ready to use `ansible-playbook` to execute the desired playbooks.
77+
Now you should be ready to use `ansible-playbook` to execute the desired
78+
playbooks.
8079

8180
### Launching the playbooks
8281

83-
Supposing that you want to install a Kubernetes environment, you'll need to pass an inventory (we will rely on `lab`) like this:
82+
Supposing that you want to install a Kubernetes environment, you'll need to pass
83+
an inventory (we will rely on `lab`) like this:
8484

85-
```
85+
```console
8686
$ ansible-playbook \
87-
-i $HOME/ansible/inventory/lab \
88-
$HOME/ansible/kubernetes.yml
87+
-i $HOME/ansible/inventory/lab \
88+
$HOME/ansible/kubernetes.yml
8989
```
9090

9191
## Authors
9292

93-
This project was created and is maintained by [Raoul Scarazzini](https://github.com/rascasoft) and has contributions from other users. Thanks to everyone who will contribute in the future, you're more than welcome!
93+
This project was created and is maintained by
94+
[Raoul Scarazzini](https://github.com/rascasoft) and has contributions from
95+
other users. Thanks to everyone who will contribute in the future, you're more
96+
than welcome!
9497

9598
## License
9699

collections/requirements.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ collections:
88
version: '1.4.0'
99
- name: community.crypto
1010
version: 1.6.2
11-
- name: community.kubernetes

kubernetes.yml

-10
This file was deleted.

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
ansible
22
ansible-vault
33
azure-cli
4-
kubernetes

0 commit comments

Comments
 (0)