Browse Source

Cleanup

master
Simon Vikstrom 11 months ago
parent
commit
5d8336973b
6 changed files with 17 additions and 2 deletions
  1. +11
    -0
      host_vars/ansibletest.devsn.se.yml
  2. +1
    -0
      inventory
  3. +0
    -0
      lxcguests.yml
  4. +1
    -1
      lxchosts.yml
  5. +1
    -1
      roles/lxchost/tasks/main.yml
  6. +3
    -0
      site.yml

+ 11
- 0
host_vars/ansibletest.devsn.se.yml View File

@@ -0,0 +1,11 @@
---
lxc_containers:
testhost.xil.se:
ipv4_address: "10.10.0.12/24"
ipv4_gateway: "10.10.0.1"
testhost2.xil.se:
ipv4_address: "10.10.0.13/24"
ipv4_gateway: "10.10.0.1"
testhost3.xil.se:
ipv4_address: "10.10.0.14/24"
ipv4_gateway: "10.10.0.1"

+ 1
- 0
inventory View File

@@ -1,3 +1,4 @@
[lxchosts]
ansibletest.devsn.se

[gatewayed]


lxcguesttest.yml → lxcguests.yml View File


test.yml → lxchosts.yml View File

@@ -1,4 +1,4 @@
- hosts: ansibletest.devsn.se
- hosts: lxchosts
roles:
- common
- lxchost

+ 1
- 1
roles/lxchost/tasks/main.yml View File

@@ -6,7 +6,7 @@
'python2.7-dev',
'python-virtualenv',
'debootstrap',
'python3-lxc',
'python-lxc',
'lxc-templates']
state: latest
tags:


+ 3
- 0
site.yml View File

@@ -0,0 +1,3 @@
---
- import_playbook: lxchosts.yml
- import_playbook: lxcguests.yml

Loading…
Cancel
Save