You've already forked ansible-role-common
Colored Output
This commit is contained in:
@@ -11,6 +11,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
|
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
|
||||||
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
|
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
|
||||||
|
PY_COLORS: '1'
|
||||||
|
ANSIBLE_FORCE_COLOR: '1'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
ignore: |
|
ignore: |
|
||||||
env/
|
.venv/
|
||||||
rules:
|
rules:
|
||||||
braces:
|
braces:
|
||||||
max-spaces-inside: 1
|
max-spaces-inside: 1
|
||||||
|
|||||||
9
Makefile
9
Makefile
@@ -4,11 +4,12 @@ clean:
|
|||||||
find . -name '*.py[co]' -delete
|
find . -name '*.py[co]' -delete
|
||||||
|
|
||||||
virtualenv:
|
virtualenv:
|
||||||
virtualenv --prompt '|> ansible-role-common <| ' env
|
virtualenv --prompt '|> ansible-role-common <| ' .venv
|
||||||
env/bin/pip install -r requirements.txt
|
.venv/bin/pip install --upgrade pip
|
||||||
env/bin/ansible-galaxy collection install -r requirements.yml
|
.venv/bin/pip install -r requirements.txt
|
||||||
|
.venv/bin/ansible-galaxy collection install -r requirements.yml
|
||||||
@echo
|
@echo
|
||||||
@echo "VirtualENV Setup Complete. Now run: source env/bin/activate"
|
@echo "VirtualENV Setup Complete. Now run: source .venv/bin/activate"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user