No description
- Jinja 98.5%
- Shell 1.5%
| roles | ||
| .gitignore | ||
| .python-version | ||
| ansible.cfg | ||
| generate_wp_admin.bash | ||
| inventory.yaml | ||
| playbook.yaml | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
Prerequisites:
Quickstart:
git clone https://git.pinklab.cloud/pinklifeart/devops-ansible-task.git
cd devops-ansible-task
uv sync
bash generate_wp_admin.bash
Feel free to adjust the credentials in the generated wp_admin.yaml.
Then populate the inventory.yaml with your server. Curse the author, replace all hard-coded IPv4 in playbook.yaml. I will fix it when I got time. When done, run the following command:
uv run ansible-playbook -i inventory.yaml playbook.yaml