Zdej bo cajt za lxc
parent
988e628c9a
commit
e140fcdee4
|
@ -7,16 +7,16 @@
|
|||
|
||||
vars_prompt:
|
||||
- name: "n_teams"
|
||||
prompt: "How many teams do yo wish me to create?"
|
||||
prompt: "How many teams do you wish me to create?"
|
||||
private: false
|
||||
|
||||
tasks:
|
||||
- name: install and setup forcad
|
||||
include_role:
|
||||
name: forcad
|
||||
tasks_from: main
|
||||
|
||||
# - name: Setup team lxc containers and services
|
||||
# - name: install and setup forcad
|
||||
# include_role:
|
||||
# name: services
|
||||
# name: forcad
|
||||
# tasks_from: main
|
||||
|
||||
- name: Setup team lxc containers and services
|
||||
include_role:
|
||||
name: services
|
||||
tasks_from: main
|
||||
|
|
|
@ -22,6 +22,14 @@
|
|||
profiles: ["default"]
|
||||
wait_for_ipv4_addresses: true
|
||||
timeout: 600
|
||||
register: info
|
||||
|
||||
- debug:
|
||||
msg: "{{ info }}"
|
||||
|
||||
- name: BEGIN lxc exec ...
|
||||
set_fact:
|
||||
ansible_python_interpreter: lxc exec mycontainer -- /usr/bin/python3
|
||||
|
||||
- name: Check python is installed in container
|
||||
delegate_to: mycontainer
|
||||
|
|
Loading…
Reference in New Issue