diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 532ce23..e1a0c0d 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -11,6 +11,8 @@ steps: environment: ANSIBLE_CALLBACK_WHITELIST: profile_tasks EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel + PY_COLORS: '1' + ANSIBLE_FORCE_COLOR: '1' volumes: - /var/run/docker.sock:/var/run/docker.sock commands: diff --git a/.yamllint b/.yamllint index 0f77af4..5175319 100644 --- a/.yamllint +++ b/.yamllint @@ -3,7 +3,7 @@ extends: default ignore: | - env/ + .venv/ rules: braces: max-spaces-inside: 1 diff --git a/Makefile b/Makefile index 9d67a14..da0e5ea 100644 --- a/Makefile +++ b/Makefile @@ -4,11 +4,12 @@ clean: find . -name '*.py[co]' -delete virtualenv: - virtualenv --prompt '|> ansible-role-common <| ' env - env/bin/pip install -r requirements.txt - env/bin/ansible-galaxy collection install -r requirements.yml + virtualenv --prompt '|> ansible-role-common <| ' .venv + .venv/bin/pip install --upgrade pip + .venv/bin/pip install -r requirements.txt + .venv/bin/ansible-galaxy collection install -r requirements.yml @echo - @echo "VirtualENV Setup Complete. Now run: source env/bin/activate" + @echo "VirtualENV Setup Complete. Now run: source .venv/bin/activate" @echo test: