diff --git a/.gitignore b/.gitignore index 76b81eb..6f22a24 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ .idea/ venv/ -.vault-pass +.ansible_vault_password diff --git a/README.md b/README.md index 62746d8..205e98a 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ - # `minio-microk8s-ansible` – MinIO S3 Object Storage with a MicroK8s Sidecar Ansible playbook to configure our Ubuntu 22 servers to run a distributed MinIO S3 service, heavily inspired by [`mkdevops-se/hq.mkdevops.se`](https://github.com/mkdevops-se/hq.mkdevops.se). MicroK8s is used here as a sidecar to provide container platform capabilities and handle internet ingress. - ## Getting Started Clone the repo: @@ -19,10 +17,10 @@ Create a virtual environment and install the dependencies: source venv/bin/activate pip install -r requirements.txt -Add the Ansible Vault password to a file named `.vault-pass` and restrict readability. +Add the Ansible Vault password to a file named `.ansible_vault_password` and restrict readability. - echo theSecretAnsibleVaultPassword > .vault-pass - chmod og-r .vault-pass + echo theSecretAnsibleVaultPassword > .ansible_vault_password + chmod og-r .ansible_vault_password Verify that the hosts are reachable: @@ -31,4 +29,3 @@ Verify that the hosts are reachable: Run through the bootstrap playbook in `--check` mode to verify that provisioning can execute: ansible-playbook bootstrap.yml --check - diff --git a/ansible.cfg b/ansible.cfg index 979d0e0..f49f966 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,4 +3,4 @@ roles_path = roles/ retry_files_enabled = False inventory = hosts.yml display_args_to_stdout = True -vault_password_file = .vault-pass +vault_password_file = .ansible_vault_password diff --git a/hosts.yml b/hosts.yml index 72df91f..ef666f0 100644 --- a/hosts.yml +++ b/hosts.yml @@ -5,14 +5,11 @@ minio_servers: ansible_host: 83.233.237.136 ansible_port: 622 ansible_user: owntube_ansible - ansible_ssh_private_key_file: ~/.ssh/id_rsa minio2: ansible_host: 83.233.237.136 ansible_port: 623 ansible_user: owntube_ansible - ansible_ssh_private_key_file: ~/.ssh/id_rsa minio3: ansible_host: 82.183.39.110 ansible_port: 622 ansible_user: owntube_ansible - ansible_ssh_private_key_file: ~/.ssh/id_rsa