Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06631ee505 | ||
|
|
ce9b5d58b4 | ||
|
|
2c29ea2780 |
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
## OS generated files
|
## OS generated files
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
._*
|
._*
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
Opinionated set of roles to configure reasonable defaults for newly provisioned virtual machines. The repository provides a ready-to-use Ansible Collection (`studiovitali.ansible`) containing reusable roles.
|
# Ansible Collection
|
||||||
|
|
||||||
|
Opinionated set of roles to configure reasonable defaults for newly provisioned virtual machines. The repository provides:
|
||||||
|
- An Ansible Collection (`studio.ansible`) containing reusable roles. Use with ansible-galaxy's `requirements.yml`.
|
||||||
|
- A ready-to-use playbook configured by passing CLI vars `--extra-vars "ansible_host=${HOST_IP}` locally or through CI / CD.
|
||||||
|
|
||||||
Currently only supports Debian-based systems.
|
Currently only supports Debian-based systems.
|
||||||
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
## galaxy.yml
|
## galaxy.yml
|
||||||
|
|
||||||
namespace: studiovitali
|
namespace: studio
|
||||||
name: ansible
|
name: ansible
|
||||||
readme: README.md
|
readme: README.md
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[target]
|
||||||
|
target_host ansible_host="{{ ansible_host }}"
|
||||||
|
|
||||||
|
[all:vars]
|
||||||
|
ansible_user="{{ ansible_user }}"
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- name: Setup machines
|
||||||
|
hosts: all
|
||||||
|
become: true
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- base
|
||||||
|
- users
|
||||||
|
- security
|
||||||
|
- docker
|
||||||
|
# - backup
|
||||||
Reference in new issue
Block a user