diff options
-rw-r--r-- | ansible.cfg | 5 | ||||
-rw-r--r-- | inventory.ini | 44 | ||||
-rwxr-xr-x | inventory.py (renamed from dynamic.py) | 0 |
3 files changed, 4 insertions, 45 deletions
diff --git a/ansible.cfg b/ansible.cfg index 9e665ed..1541c14 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,6 @@ [defaults] -inventory = dynamic.py +inventory = inventory.py interpreter_python = auto_silent jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n @@ -18,3 +18,6 @@ command_warnings=False [ssh_connection] pipelining = True scp_if_ssh=True + +[inventory] +enable_plugins = constructed diff --git a/inventory.ini b/inventory.ini deleted file mode 100644 index 26eeaee..0000000 --- a/inventory.ini +++ /dev/null @@ -1,44 +0,0 @@ - -# inventory.ini -# -# --- - -# os distribution - -[openbsd] -dc0 -st0dev0 -st0cld0 -st0gme0 -st0sbx0 - -[freebsd] -stack0 - -[debian] -emb0 - -[alpine] -st0gme1 -st0sbx1 - -[linux:children] -alpine -debian - -[bsd:children] -freebsd -openbsd - -[client] -ws-bentonite -ws-think01 -ws-xps01 -guest0 -guest1 -guest2 - -# all hosts -[servers:children] -bsd -linux diff --git a/dynamic.py b/inventory.py index 5354474..5354474 100755 --- a/dynamic.py +++ b/inventory.py |