Change to collection model
This commit is contained in:
parent
457b85ddd3
commit
68e1d6730c
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
.DS_Store
|
||||
.vault
|
||||
secrets.enc
|
||||
todo
|
|
@ -0,0 +1,3 @@
|
|||
# Ansible Playbooks
|
||||
|
||||
Ansible Playbooks used to deploy services on Lunivity.
|
2
ansible.cfg
Normal file
2
ansible.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
[defaults]
|
||||
roles_path = roles/
|
8
collections/requirements.yml
Normal file
8
collections/requirements.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
collections:
|
||||
- name: https://gitpot.dev/lunivity/ansible-core.git
|
||||
type: git
|
||||
|
||||
- name: https://gitpot.dev/lunivity/ansible-common.git
|
||||
type: git
|
0
inventory/beta.ini
Normal file
0
inventory/beta.ini
Normal file
23
inventory/group_vars/dockertest.yml
Normal file
23
inventory/group_vars/dockertest.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
proxmox_id: 100
|
||||
common_firewall_enable: false
|
||||
|
||||
core_groups:
|
||||
- name: "mgmt"
|
||||
state: present
|
||||
|
||||
core_users:
|
||||
- name: "sangelo"
|
||||
password: "!"
|
||||
groups: ["sudo"]
|
||||
state: present
|
||||
authorized_keys:
|
||||
- "sangelo"
|
||||
- "sangelo-access"
|
||||
|
||||
- name: "dockertest"
|
||||
password: "{{ sec_dockertest_pass }}"
|
||||
group: "docker"
|
||||
state: present
|
||||
authorized_keys:
|
||||
- "sangelo"
|
||||
- "sangelo-access"
|
0
inventory/host_vars/.gitkeep
Normal file
0
inventory/host_vars/.gitkeep
Normal file
0
inventory/prod.ini
Normal file
0
inventory/prod.ini
Normal file
2
inventory/test.ini
Normal file
2
inventory/test.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[dockertest]
|
||||
10.1.1.1
|
9
playbooks/test/dockertest.yml
Normal file
9
playbooks/test/dockertest.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: install docker
|
||||
hosts: dockertest
|
||||
remote_user: root
|
||||
|
||||
roles:
|
||||
- lunivity.common.all
|
||||
- lunivity.core.docker
|
||||
- lunivity.core.users
|
Loading…
Reference in a new issue