diff options
-rwxr-xr-x | apply_roles | 17 | ||||
-rwxr-xr-x | deploy | 3 | ||||
-rw-r--r-- | inventory.yml | 10 |
3 files changed, 10 insertions, 20 deletions
diff --git a/apply_roles b/apply_roles deleted file mode 100755 index 8b0aa51..0000000 --- a/apply_roles +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# -# Apply specific ansible tags/roles to selected machine - -# @usage -# Help fonction -function usage() { - echo "Usage: ${0} \"role1 role2 .. roleN\" [ANSIBLE_ARGUMENTS]" -} - -for role in ${1}; do - ansible_args=$(echo "${@:2}") - ansible-playbook ${ansible_args} --tags "${role}" -done - - - @@ -0,0 +1,3 @@ +#!/bin/sh + +ansible-playbook playbooks/p.yml -e "${@}" diff --git a/inventory.yml b/inventory.yml index cbac238..a3ab73e 100644 --- a/inventory.yml +++ b/inventory.yml @@ -55,11 +55,11 @@ all: tcp: ssh: "22" nextcloud: "80" - vmm: + vm: enabled: true hosts: - vm-stack0-minecraft: - vm-stack0-nextcloud: + - "vm-stack0-minecraft" + - "vm-stack0-nextcloud" # SERVER for personnal file sync emb0: @@ -76,11 +76,15 @@ all: ansible_host: "vm-stack0-minecraft" enabled: true iso: "alpine" + memory: "2G" + size: "4G" vm-stack0-nextcloud: ansible_host: "vm-stack0-nextcloud" enabled: true iso: "alpine" + memory: "2G" + size: "4G" # --- |