You've already forked ansible-role-common
Colored Output
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
extends: default
|
||||
|
||||
ignore: |
|
||||
env/
|
||||
.venv/
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
|
||||
9
Makefile
9
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:
|
||||
|
||||
Reference in New Issue
Block a user