From d80e6442f4d488828cd19245827483f9b4d2b357 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 3 Mar 2021 21:51:19 +0700 Subject: [PATCH] Change main playbook file name --- metal/Makefile | 4 ++-- metal/{playbook.yml => main.yml} | 0 test/Makefile | 2 +- test/main.yml | 1 + test/playbook.yml | 1 - 5 files changed, 4 insertions(+), 4 deletions(-) rename metal/{playbook.yml => main.yml} (100%) create mode 120000 test/main.yml delete mode 120000 test/playbook.yml diff --git a/metal/Makefile b/metal/Makefile index 7155a9cb..34da8f78 100644 --- a/metal/Makefile +++ b/metal/Makefile @@ -10,8 +10,8 @@ init: reset: . .venv/bin/activate \ - && ansible-playbook --ask-become-pass --inventory hosts.ini playbook.yml + && ansible-playbook --ask-become-pass --inventory hosts.ini main.yml provision: . .venv/bin/activate \ - && ansible-playbook --inventory hosts.ini playbook.yml --tags provision + && ansible-playbook --inventory hosts.ini main.yml --tags provision diff --git a/metal/playbook.yml b/metal/main.yml similarity index 100% rename from metal/playbook.yml rename to metal/main.yml diff --git a/test/Makefile b/test/Makefile index e2dab370..9f3c6f7f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -13,7 +13,7 @@ metal: && . .venv/bin/activate \ && pip3 install --upgrade pip \ && pip3 install -r requirements.txt \ - && ansible-playbook --inventory hosts.ini playbook.yml + && ansible-playbook --inventory hosts.ini main.yml infra: echo infra diff --git a/test/main.yml b/test/main.yml new file mode 120000 index 00000000..d4767227 --- /dev/null +++ b/test/main.yml @@ -0,0 +1 @@ +../metal/main.yml \ No newline at end of file diff --git a/test/playbook.yml b/test/playbook.yml deleted file mode 120000 index 13312534..00000000 --- a/test/playbook.yml +++ /dev/null @@ -1 +0,0 @@ -../metal/playbook.yml \ No newline at end of file