mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
ansible force color
This commit is contained in:
parent
0e3bb9edcc
commit
18e923609e
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -27,8 +27,10 @@ jobs:
|
||||||
DEPLOY_USERNAME: ${{ secrets.DEPLOY_USERNAME }}
|
DEPLOY_USERNAME: ${{ secrets.DEPLOY_USERNAME }}
|
||||||
ANSIBLE_INVENTORY: inventories/github.yaml
|
ANSIBLE_INVENTORY: inventories/github.yaml
|
||||||
ANSIBLE_VAULT_PASSWORD_FILE: vault.pass
|
ANSIBLE_VAULT_PASSWORD_FILE: vault.pass
|
||||||
|
ANSIBLE_FORCE_COLOR: "true"
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > $ANSIBLE_VAULT_PASSWORD_FILE
|
echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > $ANSIBLE_VAULT_PASSWORD_FILE
|
||||||
|
ls $ANSIBLE_VAULT_PASSWORD_FILE
|
||||||
export KEY_FILE=$(mktemp)
|
export KEY_FILE=$(mktemp)
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" > $KEY_FILE
|
echo "${{ secrets.DEPLOY_KEY }}" > $KEY_FILE
|
||||||
ansible-playbook playbooks/all.yaml --check --diff
|
ansible-playbook playbooks/all.yaml --check --diff
|
||||||
|
|
Loading…
Reference in a new issue