aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-14 21:56:01 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-14 21:56:01 +0100
commit5262aab814e41005562f44d76e6de8be125199a4 (patch)
tree956c56ce6771d7331ff9975cea98865ab89fc5cb
parent578a86e294e4c94a1bb4aacea0ca771079c878c4 (diff)
downloadansible-memzero-5262aab814e41005562f44d76e6de8be125199a4.tar.gz
ansible-memzero-5262aab814e41005562f44d76e6de8be125199a4.zip
move vars from inventory to playbook
-rw-r--r--inventory.ini2
-rw-r--r--memzero.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/inventory.ini b/inventory.ini
index a7b0eb6..a7ae016 100644
--- a/inventory.ini
+++ b/inventory.ini
@@ -1 +1 @@
-memzero.de USER=johannst DATA_ROOT=/home/johannst/pods NETWORK=podnet
+memzero.de
diff --git a/memzero.yml b/memzero.yml
index c9f28bd..a48a4c4 100644
--- a/memzero.yml
+++ b/memzero.yml
@@ -1,5 +1,9 @@
- name: Server setup
hosts: all
+ vars:
+ USER: johannst
+ DATA_ROOT: /home/johannst/pods
+ NETWORK: podnet
pre_tasks:
- name: Setup podman network