Primeros commits
This commit is contained in:
parent
707b014ae9
commit
95d9d08762
7 changed files with 3 additions and 1934 deletions
0
Playbooks/01-A-OPENLDAP.yml
Normal file
0
Playbooks/01-A-OPENLDAP.yml
Normal file
0
Playbooks/01-B-LDAP-WEB-UI.yml
Normal file
0
Playbooks/01-B-LDAP-WEB-UI.yml
Normal file
|
@ -18,7 +18,7 @@
|
||||||
- ansible.builtin.include_role:
|
- ansible.builtin.include_role:
|
||||||
name: init_lxd
|
name: init_lxd
|
||||||
#vars:
|
#vars:
|
||||||
# - lxd_init_template_config_path="/path/to/my/template"
|
# - lxd_init_template_config_path="/path/to/my/custom/template"
|
||||||
|
|
||||||
|
|
||||||
## Rollback
|
## Rollback
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
language: python
|
|
||||||
python: "2.7"
|
|
||||||
|
|
||||||
# Use the new container infrastructure
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
# Install ansible
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- python-pip
|
|
||||||
|
|
||||||
install:
|
|
||||||
# Install ansible
|
|
||||||
- pip install ansible
|
|
||||||
|
|
||||||
# Check ansible version
|
|
||||||
- ansible --version
|
|
||||||
|
|
||||||
# Create ansible.cfg with correct roles_path
|
|
||||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
|
||||||
|
|
||||||
script:
|
|
||||||
# Basic role syntax check
|
|
||||||
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
|
@ -7,7 +7,7 @@
|
||||||
classic: yes
|
classic: yes
|
||||||
|
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
var:
|
var: hostvars[inventory_hostname]['ansible_default_ipv6']['address']
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
|
|
||||||
- delegate_to: localhost
|
- delegate_to: localhost
|
||||||
|
@ -33,4 +33,3 @@
|
||||||
|
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
var: lxd_init_output
|
var: lxd_init_output
|
||||||
verbosity: 2
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ networks:
|
||||||
ipv4.address: {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}
|
ipv4.address: {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}
|
||||||
# IPv6
|
# IPv6
|
||||||
ipv6.nat: "true"
|
ipv6.nat: "true"
|
||||||
ipv6.address: {{ hostvars[inventory_hostname]['ansible_default_ipv6']['address'] }}
|
|
||||||
name: lxdbr0
|
name: lxdbr0
|
||||||
type: bridge
|
type: bridge
|
||||||
project: default
|
project: default
|
||||||
|
|
1902
Playbooks/test.json
1902
Playbooks/test.json
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue